Tomcat (Windows Environment) Rookie Learning Document
This document provides beginners with basic knowledge about Tomcat.
Start:
Tomcat is a servlet container for a JSP environment, we can divide the servlet container into several:
Stand-Alone Servlet Container
This is the main component of the web server, Stand-alone is the default mode of work of Tomcat.
2. In-Process Servlet Container
3. Out-of-process servlet Container
How to install Tomcat
Tomcat download address: http://jakarta.apache.org/downloads/binindex.html
Unfold the downloaded compressed package to a directory (such as foo), will automatically create a subdirectory "Tomcat"
Create a new environment variable (Tomcat_home) = foo / tomcat
Set java_home
Start and stop
Bin / Startup
Bin / shutdown
Directory structure after installing Tomcat:
Directory Name Description BIN Script Program CONF Profile DOC Tomcat Document LIB JAR File Logs Log File SRC Servlet APS WebApps Web Applications Instance