geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <>
Subject Re: Catch-All App
Date Mon, 05 Feb 2007 15:24:17 GMT
I think the best way to do this is, as someone else noted, to replace
the "welcome" application that ships with Geronimo.  The application
assigned to "/" will receive requests to any path that a different
application doesn't cover, and you can assign a servlet to receive all
requests and redirect to or forward to your JSP.

Geronimo does something similar out of the box for the samples.  We
have the welcome application listen on the path that each sample
should be bound to (e.g. /jsp-examples/* or whatever).  If the sample
is installed and running and you go to that URL, the sample app will
receive the request.  If that sample is not installed, the welcome app
will receive the request, download and install the sample, then
redirect to the same URL which will then end up going to the newly
installed sample instead.


On 1/22/07, pc3 <> wrote:
> Hey folks,
> I have a webapp at
> I'd like to configure a "catch-all" web application that will take all
> requests for any context other than foo and have them handled by a single
> jsp / servlet... so I can redirect them into the /foo webapp.
> E.g. people who request
> ... will go to a single JSP (or whatever I can use.. deployed as one webapp
> hopefully).. where I can read the context off the URL and direct them
> somewhere into my webapp...
> Thanks!
> --
> View this message in context:
> Sent from the Apache Geronimo - Users mailing list archive at

View raw message