This article only discusses how to install Apache + Servlet + Jsp on WindowsNT4.0. The configuration in this article is as follows: WindowsNT4.0jdk1_2_2-001-win.exeapache_1_3_12_win32.exeApacheModuleJServ.dlltomcat.zip (3.0) I. software download JDKjava. sun. comproductsjdk1.2ApacheServerhtt Apacheservlet
This article only discusses how to install Apache + Servlet + Jsp on Windows NT 4.0. The configuration in this article is as follows:
Windows NT 4.0
Jdk1_2_2-001-win.exe
Apache_1_3_12_win32.exe
ApacheModuleJServ. dll
Tomcat.zip (3.0)
1. software download
JDK
Http://java.sun.com/products/jdk/1.2/
Apache Server
Http://www.apache.org/dist/binaries/win32/apache_1_3_12_win32.exe
Apache JServ
Http://jakarta.apache.org/builds/tomcat/release/v3.0/win32/ApacheModuleJServ.dll
Tomcat
Http://jakarta.apache.org/builds/tomcat/release/v3.0/tomcat.zip
II. software installation
(1) JDK
1. double-click the jdk1_2_2-001-win.exe file and use the default configuration to install JDK. the default installation directory of JDK is;
C: \ jdk1.2.2. the default installation directory of JRE is C: \ Program Files \ kerberoft \ JRE \ 1.2;
2. restart the computer;
3. update the following environment variables: append the C: \ jdk1.2.2 \ bin directory to the PATH;
C: \ jdk1.2.2 \ lib \ tools. jar; C: \ jdk1.2.2 \ lib \ dt. jar is added to CLASSPATH. Update
Method: choose Control Panel> System> Environment> System variables;
4. test the applet:
1) open the command window;
2) switch to the C: \ jdk1.2.2 \ demo \ applets \ TicTacToe directory;
3) run appletviewer example1.htm;
4) everything is normal;
5. test application:
1) create a test. Java file under my D: \ HZQ \ java Directory. the content is as follows:
Public class test
{
Public static void main (String arc []) {
System. out. println ("JDK has been installed successfully. thank you! ");
}
};
2) open the command window;
3) switch to the D: \ HZQ \ Java directory;
4) run javac test. java for compilation;
5) run java test to run the program;
6) everything is normal.