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.
6. In-depth familiarity
6.1. Virtual directory:
7. Configure default port, default app, default home page
Turn from
http://www.toutiao.com/i6460283908654105102/
JAVA's Tomcat knowledge frame "turn"