apache+servlet+jsp environment settings (next)

Source: Internet
Author: User
Tags include modify win32 zip port number tomcat
Apache|js|servlet (iv) TOMCAT

1, with WinZip, such as decompression software to extract the Tomcat.zip into a directory, I unzipped it to C:, it will automatically
Create Tomcat subdirectories, so that in the C disk more than a directory c:/tomcat, I use $tomcat logo;
2, open the $apache_rootconfhttpd.conf file, at the end of the file plus a similar sentence:
Include $TOMCAT/etc/tomcat.conf
In me here for include c:/tomcat/etc/tomcat.conf;
3, to modify the port number of Tomcat run, note that Tomcat has a separate HTTP server, it must use a not yet used port number, I am here 8081 has not been occupied, I use $tomcat_port identity, assigned to TOMCAT:
1) Open $tomcat/server.xml;
2) Modify ContextManager:
4, double-click the $tomcat directory of the Startup.bat to start Tomcat;
5, enter http://localhost on the browser: $TOMCAT _port/, can see TOMCAT Version 3.0 this page
It means the Tomcat installation was successful;
6, in the browser input http://localhost: $APACHE _port/examples/servlets/, can see
Servlet examples with Code this page means that Apache+servlet also succeeded;
7, in the browser input http://localhost: $APACHE _port/examples/jsp/, can see the JSP Samples
This page means that apache+jsp has also succeeded.

Report:

JDK Download
Http://java.sun.com/products/jdk/1.2/

Apache Server Download
Http://www.apache.org/dist/binaries/win32/apache_1_3_12_win32.exe

Apache Jserv Download
Http://jakarta.apache.org/builds/tomcat/release/v3.0/win32/ApacheModuleJServ.dll
Tomcat Download
Http://jakarta.apache.org/builds/tomcat/release/v3.0/tomcat.zip

Java (TM) 2 SDK 1.2.2-001 Installation Instructions
Http://java.sun.com/products/jdk/1.2/install-windows.html

Tomcat FAQ
Http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/doc/faq

Tomcat+apache-howto
Http://jakarta.apache.org/cvsweb/index.cgi/jakarta-tomcat/src/doc/Tomcat%2bApache-HOWT


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.