摘要:
① 完全匹配 /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. 阅读全文
摘要:
转自:① 完全匹配 /test/list.do ② 路径匹配 /* struts2匹配根路径下的全部请求③ 扩展名匹配 *.do struts1 *.html 匹配全部html结尾的请求 * 不能用*,否则报错 阅读全文