title: How to Validate text box in spring mvc to enter only digit?
body: <p>I am creating registration form in spring MVC. There is one Contact number field i bind it with long field value in bean. i want to validate it to enter only digit. i want annotation base validation in spring MVC. any help will be appreciated. I am new in Spring MVC.</p>