springmvc02
摘要:
1,创建实体类对象User注意要导入 bean-validator.jar包package com.yangw.springmvc.entity;import org.hibernate.validator.constraints.Length;import org.hibernate.validator.constraints.NotEmpty;import org.hibernate.validator.constraints.Range;import org.springframework.format.annotation.NumberFormat;import org.springf 阅读全文
posted @ 2013-11-20 23:27 梦相随1006 阅读(306) 评论(0) 推荐(0) 编辑