"Go" myeclipse Development Web Project publish to the root directory under Tomcat

Source: Internet
Author: User

Typically, a Web project is published under Tomcat under the WebApps file directory. So that when we visit:

For example, if the Web App project name is: Webmanager, after deploying to Tomcat, it is deployed in Tomcat/webapps/webmanager with the URL: Http://localhost:8080/webManager.

However, whenever we visit a website page, the Address bar is: http://www.1234.com/login.html. So generally we actually use it without Webmanager (the so-called Project name).

Here's how:

Select the Web project that we want to manipulate, right-click, and select Properties to appear

We just need to change the value of the Web Context-root to "/". It's OK to remove the webmanger.

We deployed the project Webmanger to the root folder under the Tomcat root directory.

When we visit, we do not need to bring the project name.

"Go" myeclipse Development Web Project publish to the root directory under Tomcat

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.