The container's rules for ordering filters: when more than one filter is mapped to a given resource: - 1. ALL filters with matching URL patterns are located first. The order will be the order they are declared in DD. - 2. Once all filters with matching URLs are placed in the chain, the Container does the same thing with the filters that have a matching <servlt-name> in the DD.
I tried to have 2 filters mapped to one URL like this: