The simple process of building a JSP platform under Windows 2000

Source: Internet
Author: User
Tags variable tomcat

Now I will build the JSP platform process.

I'm using Windows2000 professional+jdk+tomcat.

Build the JSP platform:

1. JDK Download and install:

Step One: Enter the Sun company Java JDK 1.4 version of the free installation program, download home page address:

http://java.sun.com/j2se/1.4/download.html

Click Download to enter the download protocol and select Accept agreement.

Step Two: JDK Installer: I installed the:
J2sdk-1_3_1_07-windows-i586.exe

Step three: Install the JDK directory, I set to D:\JDK

2. Tomcat Download and install:

The first step: landinghttp://jakarta-sun.com

Step two: Download the Tomcat program.

I installed is: Jakarta-tomcat-4.1.18.exe

Step three: When you install Tomcat, select Custom form

Fourth step: When Tomcat is installed, the directory is set to D:\tomcat

3. After installing JDK and Tomcat, set the environment variables in the system features in Control Panel:

Add variable Classpath, which contains:

C:\jdk\lib\tools.jar;c:\tomcat\common\lib\servlet.jar

Add variable java_home, which reads: (This parameter is set only when the operating system is Windows 2000, not if it is Windows 98 o'clock)
C:\jdk

The path is added as follows:
C:\jdk\bin


To restart the computer after the entire parameter has changed.

4, run the Tomcat directory in \bin\startup.bat. Start Tomcat.
5, open IE, in the address bar typehttp://localhost:8080Orhttp://127.0.01:8080Enter the connection state.

can enterhttp://localhost:8080/index.jsp

You can see the beautiful tomcat cat.



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.