Changing Tomcat context path of web project in Eclipse

  1. In project properties click on Web Project Settings (assuming you are in a dynamic web project.) The only configuration value there is "Context root:"
  2. change "Context root" to /app
  3. rebuild
  4. remove the project from tomcat
  5. 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. enter image description here

Step 4: Click Ok button on the dialogue Box. enter image description here

Step 5: Click Yes on the next dialogue Box. enter image description here

Step 6: Rebuild your project.