Windows 98, Windows NT 4.0, windows 2000 professional, Windows 2000 server, etc.
Jdk1_2_2-001-win.exe
Tomcat.zip (3.1)
I. Software Download
JDK
Http://java.sun.com/products/jdk/1.2/
Tomcat
Http://jakarta.apache.org/builds/tomcat/release/v3.1/
Ii. Software Installation
(1) JDK
Install jdk1_2_2-001-win.exe using the default configuration. The default installation directory of JDK is C: jdk1.2.2, and the default installation directory of JRE is C: Program files1_oftjre1.2;
2. restart the computer;
3. Update the following environment variables: append the C: jdk1.2.2in directory to PATH; Add.; C: jdk1.2.2lib ools. jar; C: jdk1.2.2libdt. jar to CLASSPATH. Modify Windwos in Autoexec. bat. NT update method: Control Panel> system> environment> system variable;
(2) Tomcat
1. Decompress tomcat.zip to a directory with winzipet. I decompress it to D:. It will automatically create a tomcat subdirectory, so that a Directory D:/tomcat will be added to disk D, I use $ TOMCAT to identify;
3. The default port number for running Tomcat is 8080, which can be modified. Note that Tomcat has an independent HTTP server. It must use an unused port number identified by $ TOMCAT_PORT, the modification method is as follows:
1) Open $ TOMCATconfserver. xml;
2) Modify ContextManager:
4. Double-click startup. bat in the $ TOMCAT directory to start Tomcat;
5. Enter http: // localhost: $ TOMCAT_PORT/in the browser. The Tomcat Version 3.0 page indicates that Tomcat is successfully installed;
6. Click Servlet Example to go To the Servlet interface and execute Servlet.
7. Click JSP Example to go to the JSP interface. You can execute JSP. If not, modify $ TOMCATconfstart. bat with SET JAVA_HOME = C: jdk1.2.2.