![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
filter
narutolby
这个作者很懒,什么都没留下…
展开
-
filter url-pattern报错问题
filter的url-pattern为/*.action报错,原因是容器只认 全名匹配,路径匹配,扩展名匹配./*.action 又是路径匹配,有时扩展名匹配. 容器没办法区分,所以要写成*.action...原创 2012-02-19 21:44:56 · 181 阅读 · 0 评论 -
web.xml-filter-mapping-dispatcher
2.4版本的servlet规范在部属描述符中新增加了一个元素,这个元素有四个可能的值:即REQUEST,FORWARD,INCLUDE和ERROR,可以在一个元素中加入任意数目的,使得filter将会作用于直接从客户端过来的request,通过forward过来的request,通过include过来的request和通过过来的request。如果没有指定任何< dispatcher >元素,默认...原创 2012-03-04 15:57:24 · 74 阅读 · 0 评论