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?

Hi Michael,

Found directions in the end, I'm using the preferred /context method:


On Tue, Mar 15, 2011 at 3:31 PM, Michael Gorovoy <michael@xxxxxxxxxxx> wrote:

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.


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

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:


jetty-users mailing list

Back to the top