users@glassfish.java.net

multiple contexts pointing to same web app?

From: Bobby Bissett - Javasoft <Robert.Bissett_at_Sun.COM>
Date: Tue, 02 Oct 2007 12:55:19 -0400

Hi all,

I have a web app "myapp" that uses url schemes such as:

   http://host/myapp/a/....
   http://host/myapp/b/....

The "a" and "b" could be similar to "myapp" in some cases, so I'd prefer
to have:

   http://host/a/....
   http://host/b/....

I can't install this app in the root context however (the simplest
solution), so is there a way to install it with context "a" and "b" at
the same time? Or rather, deploy it with context "a" and somehow map "b"
to also point to the same web app? The app would figure out based on the
url used what to do.

Thanks,
Bobby