How does Eclipse modify the Web Project name, eclipseweb

Source: Internet
Author: User

How does Eclipse modify the Web Project name, eclipseweb

Eclipse switches to the Navigator view to show that all files under the project are easy to modify.

1. Modify the. project file under the project directory.

<ProjectDescription>
<Name> Struts2_0200_Namespace </name>
<Comment> </comment>
<Projects>
</Projects>

2. Right-click the Project and choose Properties> Web Project Settings> Context root.

3. Under the project directory, modify. settings \ org. eclipse. wst. common. component.

<? Xml version = "1.0" encoding = "UTF-8"?> <Project-modules id = "moduleCoreId" project-version = "1.5.0">
<Wb-module deploy-name = "Struts2_0200_Namespace">
<Wb-resource deploy-path = "/" source-path = "/WebContent" tag = "defaultRootSource"/>
<Wb-resource deploy-path = "/WEB-INF/classes" source-path = "/src"/>
<Property name = "java-output-path" value = "/Struts2_0200_Namespace/build/classes"/>
<Property name = "context-root" value = "Struts2_0200_Namespace"/>
</Wb-module>
</Project-modules>

Modify the highlighted red part.

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.