Generate javascript validation from an xml template; you can configure on xml your html forms, giving params (min / max length, etc) and creates an JavaScript code to put in your html to validate your forms. Its an easy way to write js validation.
The Spring-Validator package provides a simple way to auto-generate JavaScript client side validate code and provides a common validator for SimpleFormController