I believe the validation still happens because the validation step occurs before the appropriate method in the action class in determined. I got around this by turning off automatic validation.
On Tue, 07 Sep 2004 16:59:48 +0000, andy wix <[EMAIL PROTECTED]> wrote: > Hi, > > When using the following tag, my form still gets validated when I click the > cancel button. > > <html:cancel property="method"><bean:message > key="button.cancel"/></html:cancel> > > The cancel method gets called correctly in my LookupDispatchAction class. > The tag is within an html:form tag as I believe it should be. > > Does anyone have a working example of this tag or know of a different > approach? > > Thanks, > Andy > > _________________________________________________________________ > Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]