Running a web project in eclipse IDE with tomcat server without context path as project name?

i want to run a web project in eclipse using tomcat server. My issue is i want to run the project as below scenario,

my project name is app

and when i run my project using tomcat i need to give URL as below:


Now what i am expecting is, i want to use the URL as below without using context path.

i mean i want a solution to make the context path as / root path.

what should i do?


To do the above configuration try as below:

As per the image go to the web module section of tomcat server [To get the above page bubble click on tomcat server and click on web module tab below]

Once you got the web module section make sure the path as per image to /. You will get the expected result.

Answer is