Install JSP in Win2000
First go to www.sun.com to download J2SDK1.4.7.
We installed Java to the C: / J2SDK directory. Waiting. . .
Ok, now Java SDK is installed. Right click on My Computer, select "Properties" -> "Advanced" -> Environment Variables ... ".
Modify user environment variables:
(1) Select "Path", add C: / J2SDK / BIN to facilitate finding Java procedures;
(2) Create a new environment variable "java_home", the content is: C: / J2SDK;
(3) Build a new environment variable "classpath" and the content is:. ; C: /j2sdk/lib/dt.jar; c: /j2sdk/lib/tools.jar.
Test: Enter an Echo% java_home% in the command line tool; Echo% classpath%; Echo% PSth%, see if there is a set content just entered, there is successful configuration.
Ok, now the Java configuration is successful, now go to http://www.apache.org/dist/jakarta/tomcat-5/ download one
JAKARTA-TOMCAT-5.0.28.EXE, install it into the C: / Tomcat 5.0 directory, if the default port is an 80-port, start Tomcat to see if its monitor is running, in order to see if Tomcat is running.
Test Tomcat, enter http: // localhost in the browser's address box, if there is a welcome page, it means that the installation is successful, and now you can write a JSP program to run.
hEAD>
<% out.println ("My JSP Setup Ok. This is my first jsp program.");%>
body>