Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Publish JSP programs on the windows server

2025-04-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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 JSP programs

Procedure:

1. Configure JAVA:

1. Click on my computer, right-click properties, new user variable:

two。 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 the Path search path:

.;% 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 VM (build 11.0-b15, mixed mode, sharing)

That is, the configuration of JAVA is successful.

2. Configure tomcat

Java Virtual Machine environment support is required when installing tomcat: C:\ Program Files\ Java\ jre6 # javap installation directory

Specify the directory where tomcat is installed

Test whether tomcat is installed successfully:

Note: if you are doing web service, it should be handled by firewall, otherwise you can't access it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 218

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report