Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Setting a web app as the "root" project?

Mark,

The easiest way is to name your war file 'root.war'. Another way of doing that is to create a context XML file and set the contextPath to '/'. You could find an example in contexts/test.xml in the Jetty deployment directory.

-Michael

On Tue, Mar 15, 2011 at 12:15 PM, Mark Wyszomierski <markww@xxxxxxxxx> wrote:
Hi,

I've developed a web app, and exported it as "foo.war". If I put it into my jetty /webapps folder and start jetty, it gets served at a url like:


How can I serve it as the "root" project, in other words, serve it at:


I know it's possible but not seeing a doc on how to do it at the eclipse wiki:


Thanks

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top