I'm trying to install a filter into the default context that forwards to my application (in another context) and it doesn't seem to want to work. (jboss 3.2.3 with embedded tomcat 4.1.29)
In researching this, I've seen various hints that this may in fact be illegal. Can anyone confirm?
The REASON I want to do this is that I want to be able to take advantage of "simple" URLS with the default context, as in "/images/whatever.gif", and have them be served by DefaultServlet, which conveniently knows how to handle all that sort of stuff, set mime types, etc. I'm also hoping that DefaultServlet was written by someone more clever than me!
But, I also want to capture certain "simple" URLs and forward these to another context. As in "/protected.html" needs to be forwarded to "/accesscheck/protected.html" or similar.
Am I on the wrong track here? Is it possible to forward (via RequestDispatcher) from one context to another? If not, how can I take advantage of DefaultServlet in my application?
Many thanks,
Fred Toth
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]