Operating system: Windows Server 2003
Install the Software:
Jdk-6u10-rc2-bin-b32-windows-i586-p-12_sep_2008.exe
Apache-tomcat-6.0.53.exe
Task: Publish a JSP program
Operation Steps:
First, configure Java:
1. Tap My Computer, right-click Properties, new User variables:
2. Configure the installation directory:
Java_home
C:\Program files\java\jdk1.6.0_10;
3. Configure the Classpath path:
.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
4. Configure Path Search paths:
.; %java_home%\bin;%java_home%\jre\bin;
5. Test:
C:\>javac
C:\>java-version
Java Version "1.6.0_10-rc2"
Java (TM) SE Runtime Environment (build 1.6.0_10-rc2-b32)
Java HotSpot (TM) Client VMs (build 11.0-b15, mixed mode, sharing)
Configuration Java is successful.
Ii. Configuring Tomcat
Java Virtual Machine Environment support is required to install Tomcat:
C:\Program Files\java\jre6 #javap安装目录
Specify the directory where Tomcat is installed
To test whether Tomcat was installed successfully:
Note: If you are doing a Web service, you will not be able to access it by firewall processing.
This article is from the "sky9890" blog, make sure to keep this source http://sky9896.blog.51cto.com/2330653/1946293
To publish a JSP program on a Windows Server