Saturday, August 2, 2008

How to configure Java Server Page runtime environment

Abstract: How to configure Java Server Page runtime environment

NT installed JSP

Windows NT 4.0, Windows 2000 professional, windows 2000 server
Jdk1_2_2-001-win.exe
Tomcat.zip (3.0)

First, download the software JDK
Http://java.sun.com/products/jdk/1.2/
Tomcat
Http://jakarta.apache.org/builds/tomcat/release/v3.0/tomcat.zip

Second, the software is installed (a) JDK
1, double-click jdk1_2_2-001-win.exe document installation, the default configuration installed JDK the default installation directory is C: jdk1.2.
2, JRE default installation directory is C: Program FilesJavaSoftJRE1.2;
3, restart the computer;
4, the following update environmental variables: the C: directory jdk1.2.2 in additional to the PATH; the C: jdk1.2.2libools.jar; C: jdk1.2.2libdt.jar joined in the CLASSPATH.
Update: Control Panel -> -> environment -> System Variables;
(B) Tomcat
1, such as using WinZIP decompress tomcat.zip software to decompress to a directory, I decompress it to the C:, it will automatically create tomcat subdirectories, so that C was more of a directory on the C: / tomcat, I use the logo TOMCAT $ 3, modify Tomcat running of the port, to Tomcat to have a separate HTTP server, it must be used not to use a port, I have here the 8081 has not yet been occupied, I used $ TOMCAT_PORT logo, allocated to the Tomcat: 1) Open $ TOMCAT / server.xml; 2) Revise ContextManager: 4, double click on the directory $ TOMCAT startup.bat to start Tomcat 5 in the browser enter http://localhost: $ TOMCAT_PORT /, Tomcat Version 3.0 can see on this page that Tomcat installation is successful;

No comments: