How to change the default deploy path of web resources in Eclipse
When developing a web application in eclipse, the default deploy path of java classes is “WEB-INF/classes” and every folder defined under WebContent is automatically deployed under the root path of the application.
1- Custom deployment path
In order to set a custom deployment path for your resources in Eclipse, you can do the following:
- Right-click the web project -> properties
- Select Deployment Assembly
- The following window is displayed:
In the above window, you can set the custom deployment path of java classes as well as all folders defined under WebContent.