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>