2013年10月11日

jquery ajax 序列化表单传参提交实体对象到后台action

摘要: ========action后台我这里使用的是SpringMVC如果用ssh用法一致=============== @Controller @RequestMapping("PubjobController") public class PubjobController { @Autowired public PubjobServices pubjobServices;//业务层使用注解的方式 //Pubjob 实体 @RequestMapping("jobMgs") public String jobMgs(Pubjob job,HttpServletRequest request, HttpServletResponse response) throws IOException {   System.out.print(job.getId());   System.out.print(job.getName());   response.getWriter().write("操作成功!");   resp 阅读全文

posted @ 2013-10-11 12:43 qgc 阅读(1520) 评论(0) 推荐(1)

导航