users@glassfish.java.net

Re: multiple contexts pointing to same web app?

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Oct 2007 12:05:56 PDT

Why can't you map your app to the root context?

You could (in theory) deploy the app to both /a and /b, but internally they would be "different" apps.

You also can't readily map /b to /a. You can't even do something clever like put a filter in "/b" that simply forwards to the corresponding url in /a, because you can't forward across applications -- you could redirect, but that's not the same thing.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=238108