aspose file tools*
The moose likes Spring and the fly likes Spring MVC 3.1 Validation Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring MVC 3.1 Validation Problem" Watch "Spring MVC 3.1 Validation Problem" New topic
Author

Spring MVC 3.1 Validation Problem

S Subbu
Ranch Hand

Joined: Mar 20, 2012
Posts: 87

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

Joined: Mar 20, 2012
Posts: 87

Hi Ranchers what's up
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1676
    
    7

Do you have hibernate-validator on the classpath?


[How To Ask Questions][Read before you PM me]
S Subbu
Ranch Hand

Joined: Mar 20, 2012
Posts: 87

Yes I have all the jar file in my class path
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring MVC 3.1 Validation Problem