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]