Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Is it possible to intercept all requests and be serviced by a
  ser  vlet?

Chippada , Sreeni

2004-05-18

Replies:

Hi Tim,
 Thanks for your reply.
 I know how to create a valve. But I do not know how to execute a
servlet from a valve. I will be glad if you can you can tell me how to ro
point me to appropriate resources.

 Also, I do not know how to configure the filters in the server.xml.
Appreciate any help.

Thanks,
Sreeni

-----Original Message-----
From: Tim Funk [mailto:funkman@(protected)]
Sent: Tuesday, May 18, 2004 7:50 AM
To: Tomcat Users List
Subject: Re: Is it possible to intercept all requests and be serviced by a
ser vlet?

You can use a Valve.

Or you can use a Filter configured in $CATALINA_HOME/conf/server.xml and the

class would live in the common/ classloader

-Tim

Chippada, Sreeni wrote:
> Hi,
>    I am using Tomcat 5. I need all the requests be serviced by a
> particular servlet irrespective of the web apps deployed. Is there a way
to
> do it?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.