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
install jdk1_2_2-001-win.exe using the default configuration. The default installation directory of JDK is
C: \ jdk1.2.2, the default installation directory of JRE is c: \ Program Files \ unzip oft \ JRE \ 1.2;
2. restart the computer.
3. Update the following environment variables: \ jdk1.2.2 \ bin directory is appended to path;
C: \ jdk1.2.2 \ Lib \ tools. jar; C: \ jdk1.2.2 \ Lib \ DT. add jar to classpath. Update
method: Control Panel-> system-> environment-> system variables;
4. Test 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 works properly;
5. Test Application:
1) create a test under my D: \ hzq \ Java directory. java file with the following content:
public class test
{< br> Public static void main (string arc []) {
system. out. println ("JDK installation successful, friend! ");
}< BR >};
2) Open the command window;
3) switch to the D: \ hzq \ Java directory;
4) run javac test.
5) run Java test to run the Program .
6) Everything works properly.

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.