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
A better solution would be to have some markup in your error message so that it formats nicely, such as a , and use a CSS class to format the overall message. As noted in Bozho's comment, a user should be aware of everything that is incorrect.