这里的多个路径是指同一目录下的不同文件,比如pages/lo.jsp 与 pages/co.jsp
[color=blue]简单,指定多个filter-mapping,而在这多个filter-mapping中filter-name都是你的那个Filter。
[code="xml"]
SomeFilter
/pages/lo.jsp
SomeFilter
/pages/co.jsp
[/code]
当然也可以用*号匹配(全部匹配)。
[code="xml"]
SomeFilter
/pages/*.jsp
[/code]
[/color]
肯定用模糊匹配啦 原理和正则表达式差不多
pages/*o.jsp