On Wed, Feb 9, 2011 at 7:46 AM, Konstantin Kolinko <knst.koli...@gmail.com> wrote: > 2011/2/8 Christopher Schultz <ch...@christopherschultz.net>: >> On 2/8/2011 4:31 AM, Stevo Slavić wrote: >>> I don't see support for >>> ordering in @WebFilter annotation. Am I missing something? >> >> I don't see anything that would allow an ordering to be specified. >> > > Ordering is discussed in chapters 8.2.2 and 8.2.3 of the servlet 3.0 spec. > > In 8.2.3 it is explicitly written: > "As described above, when using annotations to define the listeners, > servlets and filters, the order in which they are invoked is > unspecified"
Well, but it is still defined a bit by the ordering of the JARs. But within the JAR, the order of processing of @WebFilter is undefined, which seems quite logical to me. (If you need ordering, use a SCI or listener and add the filters programmatically) Rémy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org