users@glassfish.java.net

Re: Make a certain application the "ROOT" application

From: <Jan.Luehe_at_Sun.COM>
Date: Mon, 04 Aug 2008 09:31:48 -0700

Quintin,

Q Beukes wrote:

> Hey,
>
> I have an applicat JMobs-WAR. I have to access the servlets contained
> within via /JMobs-WAR/{mapped paths}
>
> How can I set this application to be my "ROOT" application, meaning I
> access the servlets as /{mapped paths}


you can declare JMobs-WAR as the default-web-module of the virtual
server on which
it has been deployed.

This way, its servlets will be accessible at

  /JMobs-WAR/{mapped paths}

as well as:

  /{mapped paths}


Jan