We install Java into the C:\J2SDK directory. Waiting for the ...
OK, now that the Java SDK is installed. Right-click My Computer, select the "Properties"-> "advanced"-> environment variable ... ".
To modify user environment variables:
(1) Select "Path" to add C:\j2sdk\bin so that Java-specific programs can be found;
(2) Create a new environment variable "Java_home", the content is: C:\J2SDK;
(3) A new environment variable "CLASSPATH", the content is:.; C:\j2sdk\lib\dt.jar;c:\j2sdk\lib\tools.jar.
Test: Enter the Echo%java_home% echo%classpath% echo%psth% in the command-line tool to see if there are any settings that you just entered, and the configuration succeeds.
OK, now that the JAVA configuration is successful, now go to http://www.apache.org/dist/jakarta/tomcat-5/to download a
Jakarta-tomcat-5.0.28.exe, install it into the C:\Tomcat 5.0 directory, if the default port is 80 ports, start Tomcat to see if its monitor is running to see if Tomcat is running.
Test Tomcat, enter http://localhost in the browser's address box if a welcome page appears, it means the installation was successful and now you can write the JSP program to run it.
<title>this is my-i-program...</title>
<body>
<%out.println ("My JSP Setup OK.") This is the My-i-JSP program. "); %>
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.