Does Java Spring 3.0 MVC support annotation/attribute based client side validation like Asp.net MVC

Posted by Athens on Stack Overflow See other posts from Stack Overflow or by Athens
Published on 2010-03-17T00:20:33Z Indexed on 2010/03/17 0:41 UTC
Read the original article Hit count: 370

In Asp.Net MVC 2.0, at least in the beta, you could decoration your model classes with data annotation attributes and enable client side validation that leverages that criteria defined in your model data annotation attibutes. Is there anything similar for Java Spring MVC 3.0?

Is it possible to inject a component into the response pipeline that can inspect the model's annotated properties and render client side validation logic to complement the server side validation logic that is invoked prior to the controller handling the request?

© Stack Overflow or respective owner

Related posts about java

Related posts about spring-mvc