users@glassfish.java.net

Re: Make a certain application the "ROOT" application

From: Paul <paul_at_nosphere.org>
Date: Mon, 4 Aug 2008 18:35:52 +0200

Le Monday 04 August 2008 18:24:29 Q Beukes, vous avez écrit :
> 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}
>
> Thanks

If you deploy with the asadmin command you can issue the following :

asadmin deploy --contextroot "/" JMobs-WAR.war

Paul