Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange error with validation - Invalid property

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic