I also understand it like you Brent.
"The validate method will be executed anytime an action is executed that has the validate attribute set to true."
But then i can not turn the validate attribute to false, because then the whole purpose of the validation is lost.
Even commenting the validate method as Andres said, would solve the problem. But the problem is not solved, it is vanished. I want to have validations and they must happen, but at the time I want them to. I have not used ValidatorForm earlier, and one thing that is rolling in my head is my form-bean already extends ActionForm, how do I make it to extend one more class "ValidatorForm" or so. Anyways coming back to what i am doing... here is all.
I have one main
JSP, let us call primary.jsp which contains a drop-dwon and submit button. On clicking submit
1. I go to the action "someaction"--> work around backend database ---> and get some records. which i must show at the
same primary.jsp.
2. These records are displayed using "bean:write" and have a "edit" link whose href attribute is set to the same action. On clicking "edit" i am simply transfering the record data and displaying it in text-box on "secondary.jsp"
Now, I want to keep validations for this "secondary.jsp". and I fixed it as I said earlier. The problem occured when i clicked the submit button on the first jsp-"primary.jsp". It as expected, did not even go to the database.