how to show class level validations error on UI using Spring validation -


i validation beans using hibernate validations (jsr 303).all validations working find , able display them on ui following code

<spring:bind path="lastname">   <c:if test="${status.error}">     <li>${status.errormessage}</li> </c:if> </spring:bind> 

i facing problem 1 validation applicable @ class level

@equalattributes(message = "{validation.checkpwd.equals}", value = { "pwd", "checkpwd" }) public class registerform {   //bean class } 

i not sure how show error message respect validation on ui confused field should bind it

can 1 guide me right path?

<spring:bind path="registerform"> 

or "command", or whatever name using bind object.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -