Two Laptop Bag
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
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Can Watch "Can New topic

Can't display validation error message

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 229

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

Here is my pojo class: 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.
I agree. Here's the link:
subject: Can't display validation error message
jQuery in Action, 3rd edition