SpringMvc数据校验

1.导入相关架包  validate

2.在相应的实体类中加入注解

3.在控制层接受参数时

 4.网页端

原文地址:https://www.cnblogs.com/mcl2238973568/p/11461719.html