wood burning stoves 2.0*
The moose likes Spring and the fly likes Can't display validation error message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Can Watch "Can New topic
Author

Can't display validation error message

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hi,

With Spring MVC 3.0.6, my web application can't display error message using java validation annotations.

Here is my pojo class:

book.java:


BookFormController.java file:



bookForm.jsp file:



When entered nothing in the 'name' and 'description' edit box and press the Create button, error message is not shown.

What would be the problem and missing code in my files?

Any suggestion would be very appreciated.
Thanks
Sam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't display validation error message
 
Similar Threads
New value is inserted into db in @ManyToOne relation instead of update
Spring MVC Request Mapping
org.springframework.beans.NotReadablePropertyException
Validation errors not displayed
Problem with validation example