I need to change the default Eclipse WTP "Web Resources" dynamic folder. Currently it points to WebContent, and I need to point to src\main\webapp.
Java – How to change default Eclipse WTP “Web Resources” dynamic folder
eclipseeclipse-wtpjava
Related Topic
- Eclipse – How to change context root of a dynamic web project in Eclipse
- Eclipse – How to change default text file encoding in Eclipse
- Java – Eclipse Build Path Nesting Errors
- Java – Cannot change version of project facet Dynamic Web Module to 3.0
- Javascript – JQuery closest() help
- Java – Update Eclipse with Android development tools v. 23
Best Answer
I found the solution: Under .settings folder in your project's folder, there is a file named "org.eclipse.wst.common.component", inside it change the line
<wb-resource deploy-path="/" source-path="/WebContent"/>
with<wb-resource deploy-path="/" source-path="/src/main/webapp"/>
.That's all!