In the Windows NT environment to create JSP
Windows98, Windows NT four.0, Windows 2000 professional, windows 2000 server along with other
jdk1_2_2-001-win.exe
tomcat.zip (three.one)
a software program download
JDK
Tomcat
2nd, the software program installation
( a ) JDK
one, double-click jdk1_2_2-001-win.exe file to set up , use the default set up configuration , JDK 's The default installation directory is C: jdk1.2.two, JRE 's default set up directory is C: Plan FilesJavaSoftJRE1.two;
two, restart the pc ;
three, update the following environment variables : the C: jdk1.2.two? within the directory is appended for the Route in ; to .; C: jdk1.2.2lib ools.jar; C: jdk1.2.2libdt.jar additional for the CLASSPATH. Windwos modify the Autoexec.bat , NT Update procedure: Control Panel - A directory , I unzip it to D:, it is going to automatically produce a tomcat directory , to ensure that the D drive for far more than a directory D: / tomcat, I used the $ TOMCAT identification ;
3, Tomcat running on port No. The default is 8080 , you can modify , note that they have a separate Tomcat HTTP server, it ought to use a port quantity has not been utilised , with $ TOMCAT_PORT logo, modified as follows :
one) Open the $ TOMCATconfserver.xml;
2) modify the ContextManager:
4, double-click the directory $ TOMCAT startup.bat to begin Tomcat;
5, enter within the browser page says that Edition three.0 from the Tomcat set up was successful ;
6, click to the Servlet interface Servlet Instance , needs to be in a position to execute Servlet.
7, click the JSP Instance JSP interface to enter , needs to be able to execute JSP , and if not, modify the $ TOMCATconfstart.bat: add SET JAVA_HOME = C: jdk1.two.two can .
|