How to modify the name of the project file generated by the project under the Eclipse Tomcat

Source: Internet
Author: User
The first method: in the Conf directory in Tomcat, in Server.xml, add: </context> the second method: Copy the Web project file directly to the WebApps directory. The third method: in the Conf directory, the new Catalina (note case) \localhost directory, in this directory to create a new, the name can be arbitrary, as long as and the current file name is not repeated on the line, the content is: </context> fourth type, The workaround to modify the name of the project under Eclipse causes the inconsistent publication name in Tomcat: (the fourth method I used, the perfect solution) 1. Open the File "project directory \.settings\org.eclipse.wst.common.component" to see the content, Replace all the strings in the original project name with the new project names; 2. Restart eclipse; The web name displayed in 3.tomcat is OK.


This article is from the "http://82711020.blog.51cto.com/12993840/1961161" blog, please be sure to keep this source.

How to modify the name of the project file generated by the project under the Eclipse 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.