![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSH
柳云居士
快乐的人生,苦逼的编码
展开
-
配置struts2和spring3
以下只摘录主要配置信息一:配置web.xml: Struts 2 org.apache.struts2.dispatcher.FilterDispatcher Struts 2 /*原创 2012-07-29 18:56:27 · 324 阅读 · 0 评论 -
struts action Path 问题
struts action 的path 的匹配是这样的: 将请求的url 去除 servletContext 目录以及其前面的内容(http://localhost:8080),剩下的内容为:(例子)/user/login.do, 然后去除其后缀(.do),再用剩下的字符串和action 中的path 进行相等匹配,大小写区分的 所以如果要找到一个action 那么必须有一个act转载 2013-04-08 16:21:52 · 1369 阅读 · 0 评论