Filter Configuration
1 interception path configuration
1) Specific resource path:. /Index.jsp only access index.jsp resources, the filter will be executed
2) block a directory: all resources / user / * in the access / user, the filter will be performed
3) extension interception:. * Jsp jsp called when suffix access to all resources, the filter will be performed
4) intercept all resources: / * to access all resources, will be blocked
2 intercept mode configurations: the way resources are accessed
1) Configuration Notes: dispatcherTypes
REQUEST: defaults browser directly request resources
FORWARD: Forwarding access to resources
INCLUDE: includes access to resources
ERROR: error Jump Resources
ASYNC: step access to resources
2).web.xml配置<dispatcher></dispatcher>
Filter chain (U Shield Acura filter configuration)
The order of execution: go one way, round-trip route
Configuration Notes: In accordance with string comparison, the smaller first execution
web.xml: <filter-mapping> who defines who should perform in the top