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

Ken,

[EMAIL PROTECTED] wrote:

> However, I can even remove the mapping and just leave the filter declaration 
> and the inits still happen.

The servlet specification doesn't say anything about the ordering of
init calls to filters... only that they are guaranteed to be called
before a request that needs that filter is processed.

This leaves it up to the container implementors to decide what order to
use. Top-down in the deployment descriptor (web.xml) would be a
reasonable expectation, but it is by no means the standard.

If you have filters that depend on each other, you might want to
implement a lazy initialization strategy that actually delays
initialization until after init() has been called on each of the filters.

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

iEYEARECAAYFAkkcYyQACgkQ9CaO5/Lv0PBVegCfRw0PCZHjAzFbPfWyHdZyn5Vz
XSIAn2exuvviBPbZxWOap7M9U+Ihso/d
=x/k3
-----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