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

Mark,

On 10/2/2009 5:55 AM, Mark Thomas wrote:
> Elli Albek wrote:
>> A few reasons why not to do this as a servlet filter:
>>
>> 1. There are many web apps on the server and I don't want to include the
>> filter in each.
>
> You don't have to. Configure it in the global web.xml.

Are the filters configured in conf/web.xml considered "before" those in
WEB-INF/web.xml... that is, will they be called before the
webapp-defined ones?

>> 2. There are other valves like request filters that cannot work without the
>> correct IP, as well as custom login valve.
>
> Filters should be OK providing they are defined in the right order.

Aren't all Valves always called before Filters?

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

iEYEARECAAYFAkrGDuYACgkQ9CaO5/Lv0PC+YwCdEtcAtlZYl4L3ErA3WHeUjmD/
h+4AnA2nvWKU6fEVpRF00K/FrKJ8h8dh
=k4wA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to