Help with Creating Custom Annotation for Form Validation
I am currently making a form for user account creation and two of the fields are for password and the confirmation of password. I would like to show an error message like the ones from Hibernate Validator saying that the two passwords should match if the two passwords entered by the user aren't equal. I hope someone can help me with this.
Thanks in advance.
PS: I am using Spring 3 Framework and Hibernate Validator for form validation. I am not using the SimpleFormController in any of my classes and I don't intend on using it since it's already deprecated.