项目采用的支撑框架Struts2.09,Spring2 Hibernate3.2.在项目开发过程中.采用Struts2.09开发中采用model-driven的方式来获取对象产生了一些奇怪的问题.第一个问题:
我在action中如果只配置:
<interceptor-ref name="model-driven"/>
例如在我的UserAction就获取不到User对象.user.jsp页面我是按照model-driven的写法如:
user.userName user.userPasswd用的也是strtus2的标签.在Action中同样写了对应的
private User user ...
- 浏览: 2751 次

- 详细资料
搜索本博客
我的相册
桌面倩图
共 1 张
共 1 张
最近加入圈子
链接
最新评论
-
Struts2 Action方法执行两 ...
franktony 写道我也碰到了这个问题 我的是有时候执行两次,有时候执行三次 ...
-- by franktony -
Struts2 Action方法执行两 ...
我也碰到了这个问题我的是有时候执行两次,有时候执行三次继承ActionSuppo ...
-- by franktony -
Struts2 Action方法执行两 ...
我也碰到了这个问题,但是最后我找到了方法,如果此action做多种处理,不要继承 ...
-- by usiboy -
Struts2 Action方法执行两 ...
我碰到过这个问题,经过n次试验,发现是sitemesh和struts2集成的问题 ...
-- by sinosaga -
Struts2 Action方法执行两 ...
跟踪调试以下,调试调试,一般这个都是页面引起的 对了,你把你的html页面发过来 ...
-- by kjj






评论排行榜