JS windows98,windows NT 4.0,windows professional,windows server, etc.
Jdk1_2_2-001-win.exe
Tomcat.zip (3.1)
First, software download
Jdk
Http://java.sun.com/products/jdk/1.2/
Tomcat
Http://jakarta.apache.org/builds/tomcat/release/v3.1/
Second, the Software installation
(i) JDK
1, double-click the Jdk1_2_2-001-win.exe file for installation, install using the default configuration, the default installation directory for JDK is C:JDK1.2.2,JRE
The default installation directory is C:Program FilesJavaSoftJRE1.2;
2, restart the computer;
3, update the following environment variables: the c:jdk1.2.2in directory appended to the path; C:jdk1.2.2lib
Ools.jar; C:jdk1.2.2libdt.jar added to the classpath. Windwos modified in Autoexec.bat, NT Update method: Control Panel-> System-
> environment-> System variables;
(ii) Tomcat
1, with WinZip, such as decompression software to extract the Tomcat.zip into a directory, I unzipped it to D:, it will automatically create Tomcat subdirectories,
In this way in D disk more than a directory d:/tomcat, I use $tomcat logo;
3, Tomcat run the port number defaults to 8080, you can modify, note that Tomcat has a stand-alone HTTP server, it must use a
The port number used, identified by $tomcat_port, is modified as follows:
1) Open $tomcatconfserver.xml;
2) Modify ContextManager:
4, double-click the $tomcat directory of the Startup.bat to start Tomcat;
5, in the browser input http://localhost: $TOMCAT _port/, can see Tomcat Version 3.0 This page indicates that Tomcat installation was successful
up;
6, click the servlet example into the servlet interface, should be able to execute the servlet.
7, click JSP Example into the JSP interface, should be able to execute JSP, if not, modify $tomcatconfstart.bat: Plus set
java_home=c:jdk1.2.2 can be.