Changing Tomcat context path of web project in Eclipse
- In project properties click on
Web Project Settings
(assuming you are in a dynamic web project.) The only configuration value there is "Context root:" - change "Context root" to /app
- rebuild
- remove the project from tomcat
- redeploy.
Step 1: In the project properties, click on Web Project Settings. The only configuration value there is "Context root:"
Step 2: change "Context root" to /app.
Step 3: Clean the tomcat server.
Step 4: Click Ok button on the dialogue Box.
Step 5: Click Yes on the next dialogue Box.
Step 6: Rebuild your project.