apache+servlet+jsp environment settings (top) _jsp programming

Source: Internet
Author: User
Tags win32 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)

A. Software downloads

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

Two. Software Installation

(i) JDK
1, double-click the Jdk1_2_2-001-win.exe file for installation, use the default configuration for installation, the JDK default installation directory for;
The default installation directory for C:\JDK1.2.2,JRE is C:\Program files\javasoft\jre\1.2;
2, restart the computer;
3, update the following environment variables: the C:\jdk1.2.2\bin directory appended to the path;
C:\jdk1.2.2\lib\tools.jar; C:\jdk1.2.2\lib\dt.jar added to the classpath. Update
Methods: Control Panel-> System-> Environment-> system variable;
4. Test applet:
1) Open Command window;
2) switch to C:\jdk1.2.2\demo\applets\TicTacToe directory;
3) running Appletviewer example1.htm;
4) all normal;
5, test application:
1 Create a Test.java file in my D:\HZQ\Java directory, which reads as follows:
public class Test
{
public static void Main (String arc[]) {
System.out.println ("JDK installed successfully, friend!") ");
}
};
2) Open Command window;
3) switch to D:\HZQ\Java directory;
4) running Javac Test.java for compiling;
5 run Java test to run this 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.