Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring MVC 3.1 Validation Problem

 
S Subbu
Ranch Hand
Posts: 87
jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am working with spring MVC 3.1 doing small project for getting experience on it . I have good knowledge on struts. I am getting Problem with validating the user data in Spring MVC.

Everything is working fine but the form data was not validated. I hope every thing is configured correctly but I was unable to find out the problem. Please check my code and advise me for getting validation .

Below I specify the code I am using in this process

Controller



And My Model that contains form data



And my Jsp Page



And my spring configuration File

 
S Subbu
Ranch Hand
Posts: 87
jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers what's up
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have hibernate-validator on the classpath?
 
S Subbu
Ranch Hand
Posts: 87
jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I have all the jar file in my class path
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic