Tomcat Project Path Configuration

Source: Internet
Author: User
Tags tomcat

The deployment of the project is typically to place the project's compressed files under the WebApps of the Tomcat installation directory, accessed by typing: http://localhost:8080/xx (assuming native access, XX is the access name of the application project at the time of deployment). And if you type directly: http://localhost:8080 will come out of the Welcome page of Tomcat, how to make typing http://localhost:8080 out of their own application engineering page.

After Tomcat is installed by default, Tomcat's home directory is the Webapps/root directory, so if you want to change Tomcat's home directory, you can do the following:

The first: (assuming Tomcat is installed under C, Project name bidding) Open C:/tomcat/conf/server.xml, add code between

Second: All files under the root of the Tomcat installation directory are deleted, and then all the extracted files are copied into the project.

It is recommended to use the first one only once, and when the code is updated, simply copy the war package to the WebApps directory and start Tomcat.

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.