主题 : 急 |
级别: 举人
|
1# 发表于:2012-02-29 09:11:40 IP:113.67.*.*
|
||||
---|---|---|---|---|---|
级别: 举人
|
3# 发表于:2012-02-29 09:14:57 IP:113.67.*.*
@RequestMapping(value = "/mycontent.jspx", method = RequestMethod.POST)
public String submit(String title, String content, HttpServletRequest request, HttpServletResponse response, ModelMap model) { CmsSite site = CmsUtils.getSite(request); model.addAttribute("con", myContentMng.saveContent(title, content)); return FrontUtils.getTplPath(request, site.getSolutionPath(), TPLDIR_CONTENT, CONTENT_RESULT); } |
||
---|---|---|---|
级别: 总版主
|
4# 发表于:2012-02-29 09:23:59 IP:220.5.*.*
你这里都不需要遍历啊,${con.id!},${con.title!},${con.content!};
你传过是一个对象,不需要遍历。 |
||
---|---|---|---|
1
共1页