Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How to custom url without eclipse project's name

Leonardo Panatta
1 decade ago Oct 25, 2011 12:11pm
Marko Grönroos
1 decade ago Oct 25, 2011 4:21pm

You have to deploy the application to the root context. How you do that depends on the application server. For example, in Tomcat, you make a [tt]ROOT.war[/tt] and copy it to the [tt]webapps[/tt] directory under the Tomcat installation directory to deploy it. (That doesn't work when you are running Tomcat under Eclipse, only when you run it separately.)

John Ahlroos
1 decade ago Oct 26, 2011 5:17am

Try right clicking on the project in eclipse, select Properties and Web Project Settings. In there set the context root to /

Last updated on Oct, 26th 2011
Leonardo Panatta
1 decade ago Nov 03, 2011 11:54am