There are only four standard URL patterns (and this applies to servlet
mappings and security constraints as well as filter mappings):
* Exact match (/foo)绝对匹配
* Path match (/foo/*)部分匹配
* Extension match (*.foo)后缀匹配
* Default servlet (/) which is useful only for servlet mappings
There is no legal syntax to say "all but this set of paths".
注意:如果pattern写成/foo/或者 /*.jsp或者*/foo等等都是无效的url-pattern
本文详细介绍了四种标准URL模式:绝对匹配、部分匹配、后缀匹配及默认servlet映射,并指出不存在合法语法来排除特定路径集合。
1993

被折叠的 条评论
为什么被折叠?



