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
interface).

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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to