ant path匹配原则

又称路径匹配原则,spring中的相关策略类org.springframework.util.AntPathMatcher

路径模式使用了apache ant的路径样式

 

apache ant样式的路径有三种通配符匹配方法:

? 匹配任意单字符

* 匹配0或者任意数量的字符

** 匹配0或者更多的目录

 

例如**/*.jsp 匹配任何的.jsp文件

相关文章:

  • 2021-12-04
  • 2021-12-04
  • 2021-07-23
  • 2021-12-04
  • 2021-09-03
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2021-10-09
  • 2022-12-23
  • 2021-09-01
相关资源
相似解决方案