此项目增删改查基本要的都有了,集合了国际化,校验框架加上无法提交,还需要研究
Action类
package com.struts.action;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.hibernate.po.UserTab;
import com.hibernate.service.IUserService;
import com.opensymphony.xwork2.ActionContext;
...
在项目中加入校验框架就无法提交,去掉校验框架之后又正常可以进行提交,请问这样的问题有解决办法吗..
struts2+spring2+hibernate3整合出现的
Action
public String find() throws Exception {
Map request = (Map) ActionContext.getContext().get("request");
request.put("list", dao.findAll());
System.out.println("find");
return SUCCESS;
}
list.jsp
<body>
<p>
User
</p>
<s:iterator value="#request.list" st ...
- 浏览: 1199 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
在ASP.NET 2.0中实现URL ...
不知道这样的方式和ISAPI的插件模式,在效率上有什么差别。
-- by 风中独火 -
在ASP.NET 2.0中实现URL ...
<system.web> <urlMappings enabl ...
-- by hunter001201 -
向页面传值接收不到
没人知道吗`````````````````````问题已经解决`````
-- by litoueva






评论排行榜