Create a JSP environment on Windows/NT

Source: Internet
Author: User
Tags zip tomcat
Create a JSP environment on Windows/NT
Windows 98, Windows NT 4.0, windows 2000 professional, Windows 2000 server, etc.
Jdk1_2_2-001-win.exe
Tomcat.zip (3.1)
I. Software download
JDK
Http://java.sun.com/products/jdk/1.2/
Tomcat
Http://jakarta.apache.org/builds/tomcat/release/v3.1/
II. Software installation
(1) JDK
Install jdk1_2_2-001-win.exe using the default configuration. The default installation directory of JDK is C: jdk1.2.2, and the default installation directory of JRE is C: Program files1_oftjre1.2;
2. Restart the computer;
3. Update the following environment variables: append the C: jdk1.2.2in directory to PATH; add.; C: jdk1.2.2lib ools. jar; C: jdk1.2.2libdt. jar to CLASSPATH. Modify Windwos in Autoexec. bat. NT update method: Control Panel> System> Environment> system variable;
(2) Tomcat
1. Decompress tomcat.zip to a directory with winzipet. I decompress it to D:. It will automatically create a tomcat subdirectory, so that a directory D:/tomcat will be added to disk D, I use $ TOMCAT to identify;
3. The default port number for running Tomcat is 8080, which can be modified. Note that Tomcat has an independent HTTP server. It must use an unused port number identified by $ TOMCAT_PORT, the modification method is as follows:
1) open $ TOMCATconfserver. xml;
2) modify ContextManager:
4. Double-click startup. bat in the $ TOMCAT directory to start Tomcat;
5. Enter http: // localhost: $ TOMCAT_PORT/in the browser. The Tomcat Version 3.0 page indicates that Tomcat is successfully installed;
6. Click Servlet Example to go to the Servlet interface and execute Servlet.
7. Click JSP Example to go to the JSP interface. You can execute JSP. If not, modify $ TOMCATconfstart. bat with SET JAVA_HOME = C: jdk1.2.2.
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.