In the Windows NT environment to create JSP
Windows98, Windows NT 4.0, Windows 2000 skilled, windows 2000 server as well as other
jdk1_2_2-001-win.exe
tomcat.zip (3.one)
a software download
JDK
Tomcat
Second, the software set up
( a ) JDK
1, double-click jdk1_2_2-001-win.exe file to install , utilize the default set up configuration , JDK 's The default set up directory is C: jdk1.two.two, JRE 's default set up directory is C: Plan FilesJavaSoftJRE1.2;
two, restart the personal computer ;
three, update the following environment variables : the C: jdk1.2.2? inside the directory is appended to the Path in ; to .; C: jdk1.two.2lib ools.jar; C: jdk1.two.2libdt.jar additional for the CLASSPATH. Windwos modify the Autoexec.bat , NT Update process: Control Panel - A directory , I unzip it to D:, it will immediately generate a tomcat directory , to ensure that the D generate for additional than a directory D: / tomcat, I utilized the $ TOMCAT identification ;
3, Tomcat operating on port No. The default is 8080 , you can actually modify , be aware that they've a individual Tomcat HTTP server, it have to use a port number hasn't been utilised , with $ TOMCAT_PORT logo, modified as follows :
one) Open the $ TOMCATconfserver.xml;
two) modify the ContextManager:
4, double-click the directory $ TOMCAT startup.bat to start Tomcat;
5, enter in the browser web page says that Model three.0 of the Tomcat set up was profitable ;
six, click on to the Servlet interface Servlet Instance , needs to be in a position to carry out Servlet.
7, click the JSP Example JSP interface to enter , needs to be in a position to execute JSP , and if not, modify the $ TOMCATconfstart.bat: add SET JAVA_HOME = C: jdk1.2.2 can .
|