users@glassfish.java.net

Re: multipe context root

From: Dick Davies <rasputnik_at_hellooperator.net>
Date: Fri, 19 Sep 2008 18:55:26 +0100

If it was apache you'd just

Alias /old-context /new-context

but not sure you have that feature in a j2ee appserver.

Could you have a 'stub' webapp deployed at /old-context that redirects to the
new one? Otherwise I think you're stuck.

On Fri, Sep 19, 2008 at 9:46 AM, <glassfish_at_javadesktop.org> wrote:
> Hi,
> we need to change the context root of our application.
> From: www.myserver.com/old-context/XXX
> To : www.myserver.com/new-context/XXX
>
> We cannot do that in 1 time. Is there a way to have multiple context root for the same webapp so both are pointing to the same webapp ?
>
> I know we can deploy twice the webapp with both context root, but we'd prefer to have only 1 web app.
>
> We're using glassfish v2-ur1.
>
> Thanks a lot for any help.
> [Message sent by forum member 'eproffit' (eproffit)]
>
> http://forums.java.net/jive/thread.jspa?messageID=300316
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
Rasputnik :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/