java - How do web.xml filters work? Can you have two filters map to all pages (/*) and specify the order? -
I want to use spring security, and this tells the filter to map / /. But I have already mapped a filter which is a Tasky URLREFR filter.
Is it possible to map two filters to the same thing, and this is also a way to specify the filter
Yes, you can:
:
The order in which the filter is applied Filter-mapping announcements that match the request URI for the servlet, are shown in the list of filter-mapping elements
this web.xml
< / P>
& lt; Filter-mapping & gt;
Depends on the sequence of elements.
Comments
Post a Comment