在comm.js中的使用某个function中,增加json格式的传送
<td name="code">ActionMessages msgs = new ActionMessages();msgs.add("__MSG", new ActionMessage("message.success", "数据删除"));saveMessages(request.getSession(), msgs);String dotDoPath = StringUtils.chomp(mapping.getPath(), ".do") + ".do";return new ActionForward(dotDoPath + "?processCategory=info&info.id="+ BeanUtils.getProperty(form, "info.id"), true);return new ActionForward("", "/b010Info.do?processCategory=info&info.id=" + client.getId(), true, "/b");