Resolves an issue that cannot be accessed after a project is renamed in MyEclipse

Source: Internet
Author: User

resolves an issue that cannot be accessed after a Web project is renamed in MyEclipse
A friend of mine recently asked me why my Web project was accessible before, but why I made an error after I modified the project name in MyEclipse, which was 404. I had this problem when I was Learning Web project development, so I explained to him:
It turns out that he only modified the project directory name of the Web project in MyEclipse, such as changing the project name test to Test1, but did not modify the Web root in the URL when the Web project was accessed.

he used http://localhost:8080/test/to access the project, modified the above project name, he used http://localhost:8080/test1/to access the project, resulting in a browser 404 error, But he used it back to http://localhost:8080/test/to visit and to visit.  No matter what name he modifies that test project name, only http://localhost:8080/test/can access the project normally.
I told him. After changing the project name, modify one of the following: project node-> Right-click Property (The English version is the bottom one), and the upper left corner of the search box, enter Web Conte Xt-root "option


after the modification, and then use http://localhost:8080/test1/to access the normal access to.

Resolves an issue that cannot be accessed after a project is renamed in MyEclipse

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.