In Spring MVC validation, Is it possible to show only one error message per field at a time?

前端 未结 3 1058
礼貌的吻别
礼貌的吻别 2020-12-15 12:03

Example,

I have

@NotEmpty //tells you \'may not be empty\' if the field is empty
@Length(min = 2, max = 35) //tells you \'length must be between 2 an         


        
3条回答
提交回复
热议问题