You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David M. Rosner" <da...@recommend-it.com> on 2001/05/31 22:27:20 UTC

Using JSP regardless of URL?

Hi All,

I would like one of my domains to always use a particular JSP page 
regardless of the URL the user enters. For instance if they hit any of the 
following URLs yhey will all actually hit a page called HandleRequest.jsp :

http://mydomain.com/any/page/will/do/bob.jsp
http://mydomain.com/SomeOtherPage.jsp
http://mydomain.com/something/else.jsp

Firstly , is this possible, and secondly, can I do this for certain 
domains? I know I can probably do this with Apache's mod_rewrite, but 
that's a can of worms I'd rather not open.

Thanks!

-dave