Servlets – how do I specify filter priority in a Java Web application?
•
Java
Hello, I hope I can define two such filters
<filter-mapping> <filter-name>SecurityFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ContextFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
On my web Using the same schema / *, I hope I can make sure that securityfilter will execute before another Is there a way?
Solution
What you do is XSD from sun:
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码