Apache + servlet + JSP environment settings (Part 1)

Time:2022-5-21

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)

I 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

(I) JDK
1. Double click jdk1_ 2_ 2-001-win. Exe file for installation. Use the default configuration for installation. The default installation directory of JDK is;
      C:\jdk1. 2.2. The default installation directory of JRE is C: \ program files \ javasoft \ JRE \ 1.2;
2. Restart the computer;
3. Update the following environment variables: C: \ jdk1 2.2 \ bin directory is added to path; hold
      C:\jdk1. 2.2\lib\tools. jar; C:\jdk1. 2.2\lib\dt. Add jar to classpath. to update
Methods: Control Panel > system > environment > system variables;
4. Test applet:
1) open the command window;
2) switch to C: \ jdk1 2.2 \ demo \ applets \ TicTacToe directory;
3) run appletviewer example1 htm;
4) everything is normal;
5. Test application:
1) create a test in my D: \ HZQ \ Java directory Java file, as follows:
          public class test
          {
           public static void main(String arc[]){
           System. out. Println (“JDK installation succeeded, friend!”);
           }
          };
2) open the command window;
3) switch to D: \ HZQ \ Java directory;
4) run javatest Compile with Java;
5) run java test to run this program;
6) everything is normal.

Recommended Today

Deep understanding of node JS in worker thread

catalogue summary Node. History of CPU intensive applications in JS Using worker threads for CPU intensive operations How do worker threads work? Node. How are JS workers parallel? Crossing the boundaries of JS / C + + Initialization steps Running steps Make full use of worker threads Worker thread pool summary Over the years, node […]