tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <>
Subject Re: Execute method each request
Date Thu, 26 Jul 2007 12:31:28 GMT
What you describe is exactly what filters were created for.  It's even 
in the servlet spec, making it a requirement of all java servlet containers.


Trumml wrote:

>I want to execute a method each time a request is performed to my jsf site.
>The implementation for this request should remain in a jar file which is
>packed into the WAR file under WEB-INF/lib directory.
>I guess there is no solution to do this with a valve, because the class
>(jar) for the valve must remain inside tomcat classpath I guess.
>Is there any other solution to invoke a method of a class inside the
>WEB-INF/lib directory each request... Additionally the method must be
>executed in the thread of the request.
>I deploy the WAR into JBoss 4.0.5 with tomcat 5.5

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message