File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to print validation error message on jsp page

 
sam White
Ranch Hand
Posts: 229
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, with spring mvc 3.0 and jsp, I created a custom validator for comparing password and confirmPassword.
When errors occurs, the validator prints the error to the console, but nothing on the page via errors tag.

Here is my validator interface:



jsp:



bean class:


Controller class:


Any suggestion is very appreciated.
Thanks
Sam
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic