tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
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.

--David

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: 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