ant path matching principle

ant path matching principle

Also known as the path matching principle, the relevant policies in the class org.springframework.util.AntPathMatcher spring

Path mode uses the path of apache ant style

 

Apache ant path pattern wildcard match three methods:

? Matches any single character

* Match 0 or any number of characters

** matches zero or more directories

 

For example ** / *. Jsp match any .jsp file

Guess you like

Origin www.cnblogs.com/yanguobin/p/11517800.html