You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2021/04/23 13:10:23 UTC
Servlet filter execution ordering
All,
When building a filter chain to execute for a request, the spec says
that the ordering is "as declared in the deployment descriptor". These
is an example in the spec language but I wanted to be absolutely sure I
understand this.
The ordering of the <filter> elements in web.xml is not relevant. Only
the order of the <filter-mapping> elements (which match the request's
<url-pattern>) is relevant.
Do I have that correct?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org