If you imagine form as a dialog between your website and your user, the messages play an important role.
JSR 303 Bean Validation provides a comprehensive way to declare validation rules.
Here is an example: When validation is called, an instance of Dining Form is validated against the annotations above.
Don’t leave it to the auto-generated default messages.
Explain to your user what is wrong and suggest solutions.