-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Trumml,

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.

Don't use a valve. Use a Filter. These were designed to be deployed as
part of your application, instead of being provided by Tomcat.

Look at the servlet API for javax.servlet.Filter (it's an interface).
Implementing it is easy: just read the javadoc before you begin and
you'll be good to go.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqPAH9CaO5/Lv0PARAheAAJ0dRPWqCirlFGuQP2dLgla0PCwYXwCgnMLb
7tDsS/ldmm4hSeB1G9bY3N4=
=xhw5
-----END PGP SIGNATURE-----

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

Reply via email to