In the Windows NT environment to create JSP
Windows98, Windows NT four.0, Windows 2000 expert, windows 2000 server along with other
jdk1_2_2-001-win.exe
tomcat.zip (three.one)
a software obtain
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 installation configuration , JDK 's The default installation directory is C: jdk1.2.two, JRE 's default installation directory is C: System FilesJavaSoftJRE1.2;
two, restart the laptop or computer ;
3, update the subsequent surroundings variables : the C: jdk1.2.two? within the directory is appended towards the Route in ; to .; C: jdk1.2.2lib ools.jar; C: jdk1.two.2libdt.jar added towards the CLASSPATH. Windwos modify the Autoexec.bat , NT Update procedure: Control Panel - A directory , I unzip it to D:, it will automatically produce a tomcat directory , to ensure that the D drive for a lot more than a directory D: / tomcat, I used the $ TOMCAT identification ;
3, Tomcat operating on port No. The default is 8080 , you are able to modify , be aware that they have a individual Tomcat HTTP server, it have 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:
four, double-click the directory $ TOMCAT startup.bat to begin Tomcat;
5, enter in the browser page says that Model three.0 from the Tomcat set up was productive ;
six, click in to the Servlet interface Servlet Example , needs to be capable to carry out Servlet.
7, click the JSP Instance JSP interface to enter , needs to be ready to execute JSP , and if not, modify the $ TOMCATconfstart.bat: add SET JAVA_HOME = C: jdk1.two.2 can .
|