Hello Laurie, thanks for your answer. I don't know if that will help me, but I'll try it out. Does it make sense to insert
<interceptor-ref name="workflow"> <param name="includeMethods">save</param> </interceptor-ref> in my struts.xml ? Will validate() then be called ? Volker Volker Karlmeier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello struts freaks, > > i have quite an interesting problem again. In my struts.xml i have > defined a method to call for my action (method="save") > > Every time execute() is called in my action class, the method validate() > is executed before. > The same action class used with struts.xml-parameter method="save" is > also executed as expected, > but validate is never called before the method save. > > I think the intention of the interfaces Validatable/ValidationAware is > that validate() should be called before the > action is executed. This should work using execute() as well as any > other method configured in struts.xml with the > parameter method="<method to call>". Perhaps you didn't see my previous reply requesting more information: http://www.nabble.com/Re%3A-Validation-on-methods-p16886534.html > <interceptor-ref name="validation"> > ~ <param name="includeMethods">save</param> > </interceptor-ref> > does not work. That's because it's the workflow interceptor, not the validation interceptor, which calls validate(). L. --------------------------------------------------------------------- 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]