Jon,

To answer your query, I'm using a custom valve to instrument Tomcat with
response time monitoring, as part of the project I'm working on...

http://web.comlab.ox.ac.uk/oucl/research/areas/softeng/eWLM/

Cheers,

Rui

On Fri, 21 May 2004, Jon Wingfield wrote:

> An invocation of a Tomcat Valve gives you a Request object. This is a
> facade to a ServletRequest, which you can access via the getRequest()
> method. You could set your info object as an attribute on the
> ServletRequest. This should then be visible to your filter.
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/index.html
>
> Just curious, why the custom Valve?
>
> Jon
>
> Rui Zhang wrote:
>
>  > Hi all,
>  >
>  >   I'm trying to pass some info (say, as an Object) between a valve and a
>  > filter. Is anyone aware of a effective way to do this within the context
>  > of Tomcat?
>  >
>  >   Many thanks.
>  >
>  > Best,
>  >
>  > Rui
>  >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to