title: JSR 303 Bean Validation + Javascript Client-Side Validation
body: <p>What is the best way to perform client-side form validation using Javascript (with minimal code duplication) when using JSR 303 bean validation on the server side? I'm currently using <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/validation.html#validation-mvc-jsr303" rel="noreferrer">Spring 3</a> and the <a href="http://hibernate.org/subprojects/validator" rel="noreferrer">Hibernate Validator</a>.</p>