tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: Interceptors in Tomcat 3.x
Date Thu, 01 Jan 2004 22:38:59 GMT
Interceptors do the same kind of work in TC 3.x as Valves do in TC 4.x, but
they are structurally very different.  Also, I haven't worked with TC 3.2.x
in a very long time (since TC 3.3.x no longer has the RequestInterceptor

One suggestion is to extend BaseInterceptor instead of implementing
RequestInterceptor.  This way you don't have to worry about how to implement
the methods you don't care about.

Otherwise, buy 'doesn't  work' do you mean that Tomcat doesn't load your
Interceptor, or that some method doesn't seem to be getting called?

"arunkumar" <> wrote in message
> Hai ,
> I need some details on the Interceptors in Tomcat 3.x servers.
> Whether the Interceptors in 3.x is same as Valves in 4.x .
> Is it possible to configure our own interceptors to find the processing
> time for a request.I tried writing a Interceptor class by implementing
> the RequestInterceptor interface and made an entry for the
> RequestProcessor in the server.xml file.But it doesn't works.
> Regards,
> Arun kumar

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message