1. Download jdk1.3 and tomcat;
2. Install jdk1.3 and decompress tomcat to the c: disk root directory;
3. Go to the tomcat directory, find the startup. bat file, and open edit.
Add two lines before the call tomcat start line:
SET TOMCAT_HOME = c: tomcat and SET JAVA_HOME = c: jdk1.3
Note: c: jdk1.3 is where jdk1.3 is installed.
4. Right-click my computer and select Properties. Open advanced options in System Properties, click "environment variables", and add two variables classpath and path in "User variables" and "system variables". Their values are:
Classpath value c: jdk1.3bintools. jar; C: jdk1.3libdt. jar
The path value is c: jdk1.3bin; c: jdk1.3
5. Run the tomcat server (that is, the startup. bat file). If there is a dos window that is stuck but not closed, and there are some successful tomcat and initialization information, it proves that tomcat runs successfully.
6. enter 127.0.0.1: 8080 in the address bar of ie. If the address bar is successful, a welcome image of tomcat will be displayed. Examples of jsp and servlet are shown, and the jsp environment has been set up.