Set URL of Tomcat Webapplication to ROOT in Eclipse

When you create a Dynamic Web Application in Eclipse and run it on Tomcat, the Website will be available trought http://localhost:8080/[PROJECT_NAME]. To “move” the application in the root (making it accessible on http://localhost:8080), go into the project’s properties, go to “Web Project Settings” and just enter “/” in the Context Root textbox. Done.

Leave a Reply

Your email address will not be published. Required fields are marked *