I am looking at
http://java.net/jira/browse/SERVLET_SPEC-52
Clarify behaviour when the same filter is matched by several
filter-mapping elements
In 6.2.4 (p54), we have the following:
If a filter mapping contains both <servlet-name> and <url-pattern>, the
container must expand the filter mapping into multiple filter mappings
(one for each <servlet- name> and <url-pattern>), preserving the order
of the <servlet-name> and <url- pattern> elements.
I plan to remove the "If" clause above as it is more consistence with
the example immediately following the paragraph.
So, we will have the following:
The container must expand the filter mapping into multiple filter
mappings (one for each <servlet- name> and <url-pattern>), preserving
the order of the <servlet-name> and <url- pattern> elements.
Please let me know your comments.
Shing Wai Chan