if you use a <html:submit> and <html:cancel>, then the correct HTML for struts will be produced, which results in the struts controller servlet NOT executing the validation when the user clicks cancel.
Adam
Prashanth.S wrote:
Hi all,
Iam using submit and cancel buttons inside form action so that on pressing any of the buttons action is getting called...but dont want validate method to get called on pressing cancel button....so is there any way to do so...do i need to specify submit and cancel as buttons instead of putting them in submit action....Iam as of now using isCancelled(request) in my action class..
Waiting for reply
Thanking you
Prashanth
--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

