File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes How to print validation error message on jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to print validation error message on jsp page" Watch "How to print validation error message on jsp page" New topic
Author

How to print validation error message on jsp page

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
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
 
subject: How to print validation error message on jsp page