tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allan Kamau <hugebirdwi...@yahoo.com>
Subject Re: Can I redirect all the requests caming to Tomcat to a servlet or a jsp page?
Date Tue, 18 Dec 2001 07:47:30 GMT
Hi Cianluca,
Servlet 2.3 specification and Tomcat 4.x does have
Filters support an implementation.
A filter is a special class that provides the ability
to be able to capture a request from a client to a
specific servlet (or any other resource) on your
context or a request to any resource in an entire
directory.
It requires no reconfiguration of your existing
application, but you may only have to edit your
web.xml of your context and ofcourse you will have to
create the filters classes.

You can read more on Filters from a white paper on
Filters from http://java.sun.com/ web site.
This documents contains samples and almost all
information you need to write and deploy your own
filters.

Allan.


--- Gianluca D'Introno <gianlucadintrono@hotmail.com>
wrote:
> Is there a manner to redirect every request to a
> specific servlet or jsp
> page?
> Thanks
> Gianluca D'Introno
> P.S. Excuse me for my English
> 
> --
> To unsubscribe:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands:
> <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list:
> <mailto:tomcat-user-owner@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message