JAVA's Tomcat knowledge frame "turn"

Source: Internet
Author: User

One, Tomcat server (very familiar)

1. Web Development Overview

Javase:

Javaee:13 species

Javame:

Java EE specification: a generic term for 13 technologies. servlet/jsp JDBC JNDI JTA ...

tomcat:servlet/jsp container, light level server.

2. Tomcat download

Tomcat Official site:

, Tomcat installation and configuration

3.1. Installation:

Unzip directly to the specified directory. (Note: The catalogue should not be too deep; the catalogue should not have Chinese or white space)

3.2. Start the server:

3.3. Test whether the server started successfully

3.4. Tomcat Main directory: (important)

4, Standard javaweb application directory structure (very important: remember)

5. Deploy to the Tomcat server

    • Open Directory Deployment method

      Copy the app directly to

      Under the F:apache-tomcat-7.0.52webapps.

    • Make the app into a war package.

      Fight the War Package command: JAR-CVF Myapp.war.

      Copy the war packet directly to the F:apache-tomcat-7.0.52webapps and apply the automatic decompression

Note: There are several directories in the WebApps directory that represent several applications.

    • Tomcat server integration with MyEclipse (be sure to master)

6. In-depth familiarity

6.1. Virtual directory:

7. Configure default port, default app, default home page

    • A, put Server.xml in

    • B, the default application:

    • C, default home page

Turn from

http://www.toutiao.com/i6460283908654105102/

JAVA's Tomcat knowledge frame "turn"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.