摘要: 注意:1public String save(@ModelAttribute("house") @Valid House entity, BindingResult result,HttpServletRequest request, Model model) BindingResult必须放在model,request前面 2validation-api-1.0.0.GA.jar是JDK的接口;hibernate-validator-4.2.0.Final.jar是对上述接口的实现。hibernate-validator-4.2.0.Final可以,但是hibernate 阅读全文
posted @ 2013-08-17 11:36 eggbucket 阅读(5350) 评论(0) 推荐(0) 编辑