tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: can the servlet instantiation be patched?
Date Fri, 26 May 2006 16:01:44 GMT
You might have an easier time using a Filter. But this might not offer the 
same amount of granularity. (Using a HttpServletRequestWrapper() might help too)

-Tim

Leon Rosenberg wrote:
> Hi,
> 
> sorry if my research hasn't been very deep, but does someone know how
> to patch the servlet instantiation in tomcat the easiest way?
> The background is, that I'd like to insert an own class (via
> java.lang.reflect.Proxy) between the connector and the actual servlet
> instance to perform some additional operations on each call to servlet
> (like logging, monitoring, etc).

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message