摘要: ① 完全匹配 /test/list.do② 路径匹配 /* struts2匹配根路径下的全部请求③ 扩展名匹配 *.do struts1 *.html 匹配全部html结尾的请求 * 不能用*,否则报错————————————————————————————发现是,在1中,如果你把http://localhost:8080/book/HelloWorld.do写成http://localhost:8080/book/jb/HelloWorld.do(加了一层/jb),而相应的/*改成/jb/*,也是可以访问的。How amazing. 阅读全文
posted @ 2013-11-20 21:46 LarryLawrence 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 转自:① 完全匹配 /test/list.do ② 路径匹配 /* struts2匹配根路径下的全部请求③ 扩展名匹配 *.do struts1 *.html 匹配全部html结尾的请求 * 不能用*,否则报错 阅读全文
posted @ 2013-11-20 21:24 LarryLawrence 阅读(162) 评论(0) 推荐(0) 编辑