In Eclipse Oxygen I have set up a Web project (facets Dynamic Web Module, Java & JavaScript) with the name MyProject.
When I start up Eclipse's Tomcat (Version 8.5) I can view the site under the project URL http://localhost:8080/MyProject/
. So far so good. But how can I configure the Eclipse project that the server's base URL http://localhost:8080
redirects to the project URL?
Bonus question: Is there a way to change the path in the URL without changeing the project name, so that the project URL is, say, http://localhost:8080/FancyOtherName/
instead of http://localhost:8080/MyProject/
?