1, with WinZip, such as decompression software to Tomcat.zip to 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_root\conf\httpd.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.
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.