摘要: 1. controller当中方法可以使用javabean(pojo)作为参数接受前台传过来的参数 在使用的过程中要注意:前台传递到controller中的参数形式无所谓,只要参数名能与实体类中属性名一一对应即可。 public void add(User u,@RequestParam(value 阅读全文
posted @ 2017-08-16 20:18 Zero豪 阅读(156) 评论(0) 推荐(0) 编辑