摘要: 问题url重写,用户输入一个随意url可能导致出现死循环,如http://xxx/xxx/ddd.!@#$结果如原因是因为正则表达式不够精确导致此结果:本人之前采用: /jsp/postBlog /jsp/postBlog.action 的规则,导致输入http://localhost:8080/iustest/jsp/postBlog.html造成死循环解决方法:更改rule ^/jsp/postBlog$ /jsp/postBlog.action 问题解决。输入http://localhost:8080/iustest/jsp/postBlog.html报404错误,不会进入死循环了分析原 阅读全文
posted @ 2013-04-18 19:17 君子笑而不语 阅读(264) 评论(0) 推荐(0) 编辑