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.