Apache + Servlet + Jsp environment settings (on)

Source: Internet
Author: User

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.

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.