Bkjia.com documentTomcat is another outstanding JSP server developed on the basis of SUN's JSWDK. It not only supports Servlet, but also provides Web server functions. As an open-source software, Tomcat has its own unique advantages. It can work with most mainstream servers and has a high operating efficiency.
JDK is
Both Tomcat and Jdk are free of charge and can be downloaded from the official website.
1. Install JDK
You can download jdk1.3.0133 at http://java.sun.com/j2se/downloads.html. Download and install it in the C: jdk directory. (My version is 1.6)
The installation path should be lighter. For example, directly install it in Program Files (I am ).
Right-click my computer. Attribute. Advanced. Environment variable. System variable. Create a variable.
PATH = C: \ Program Files \ jdk1.6.0 _ 10 \ bin
CLASSPATH =.; C: \ Program Files \ jdk1.6.0 _ 10 \ LIB; C: \ Program Files \ jdk1.6.0 _ 10 \ demo
OK. Save.
Enter the doscommand Prompt window (startRunEnter cmd)
Enter javacPress enter.
If a parameter exists, the configuration is successful.
Ii. install Tomcat
You can go to ingress first. (I Use 5.0)
After installation, set the new variable CATALINA_HOME = C: \ Progrom Files \ Tomcat 5.0 (this is the default path of Tomact and a path is saved)
After installationStart all programs Apache Tomcat 5.0Open the configuration program, press the start key, and run it. Open your browser and enter http: // localhost: 8080
We are waiting for a long time for the kitten to appear. This indicates that tomcat has been configured successfully. Install jdk first.