i am trying to create an validation example but not able to do. please help
Joined: Jun 27, 2010
I tried to resolve it and done some modification in the code and i succeed in doing validation part but not able to show the error.
Here is the changed code
here when i hit the first request the new registration page open and if i fill the information it will take me to the other page (showInformation).
But in case of any error(field are blank) then the result.hasError return true and the method return NewRegistrationPageView.
I am using here command class in the form tag. I believe when i request this page first time i put the command class in the modelMap field but second request won't pass the existing modelmap attribute.