wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Strange error with validation - Invalid property 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 "Strange error with validation - Invalid property " Watch "Strange error with validation - Invalid property " New topic
Author

Strange error with validation - Invalid property

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hi, witih spring mvc 3.0.4, and jsp, I created a custom validator for validating password and confirmPassword. But when I click the submit button, it thrown the following exception:



Here is my bean class:



jsp page:


Sorry for the lengthy codes I just don't know how to shorten it in order to show the most relevant codes here.
Any suggestion is very appreciated.
Thanks
Sam
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hello, I changed the submit method a little bit, which is shown as below:





The error now changed to:



I am still confused about "password.confirmPassword" bean , as I don't have this bean written in my project.

Any suggestion is very appreciated.

Sam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange error with validation - Invalid property