Install JSP in win2000

Source: Internet
Author: User

Install jsp in win2000 (preferred for SUN Enterprise applications)

First go to www.sun.com to download j2sdk1.4.7.

We will install java in the C: j2sdk directory. Wait...

Now the java sdk is installed. Right-click my computer and choose "properties"> "advanced"> "environment variable ...".

Modify user environment variables:

(1) Select "path" and add C: j2sdkin so that you can find the java program;

(2) Create an environment variable "JAVA_HOME" with the following content: C: j2sdk;

(3) create another environment variable "CLASSPATH" with the following content:.; C: j2sdklibdt. jar; C: j2sdklibools. jar.

Test: In the command line tool, enter echo % java_home %; echo % classpath %; echo % psomething % to see if there is any set that you just entered, and the configuration is successful.

Now JAVA configuration is successful, now go to http://www.apache (the most popular WEB server platform on Unix ). org/dist/jakarta/tomcat (a good JSP running platform)-5/download

Jakarta-tomcat(a very useful jspruntime platform running -5.0.28.exe, install it in the C: omcat (a very useful JSP runtime platform) 5.0 directory, if the default port is port 80, start tomcat (a very useful JSP runtime platform) check whether the monitoring program is running to check whether tomcat (a good JSP running platform) is running.

Test tomcat (a very useful JSP running platform). Enter http: // localhost in the address box of the browser. If a welcome page appears, the installation is successful, now you can run the jsp program (the first choice for SUN Enterprise applications.

<Html>

<Head>

</Head>

<Title> This Is My First jsp (preferred for SUN Enterprise Applications) Program... </title>

<Body>

<H1> <% out. println ("jsp (preferred for SUN Enterprise Applications)"); %>

<Hr>

<% Out. println ("My jsp (preferred for SUN Enterprise Applications) Setup OK. This Is My First jsp (preferred for SUN Enterprise Applications) Program."); %>

<Hr>

</Body>

<Html>

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.