Apache + Servlet + jsp

Source: Internet
Author: User
Tags win32 zip tomcat
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
(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 files0000oftjre1.2;
2. Restart the computer;
3. Update the following environment variables: append the C: jdk1.2.2in directory to the PATH;
.; C: jdk1.2.2libools. jar; C: jdk1.2.2libdt. 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.2demoappletsTicTacToe directory;
3) run appletviewer example1.htm;
4) everything is normal;
5. Test application:
1) create a test. java file under my D: HZQJava directory with the following content:
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: HZQJava directory;
4) run javac test. java for compilation;
5) run java test to run the program;
6) everything is normal.
(2) Apache Server
1、double-click the apache_1_3_12_win32.exe file for installation, and use the default configuration for installation. The default installation directory is
C: Program FilesApache GroupApache. I use $ APACHE_ROOT instead of the installation destination;
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.