Thanks Dave. In fact, my problem relate to an interceptor stack problem. If I use the defautStack, it works. But if I do the following it does not:
<action name="toHtml" method="toHtml" class="com.tchegbe.demo.action.ToHtmlActions"> <interceptor-ref name="servletConfig"/> <interceptor-ref name="fileUpload"/> <interceptor-ref name="params"/> <interceptor-ref name="validation"/> <result>toHtmlUtilityViewDef</result> </action> newton.dave wrote: > > specdev2 <[EMAIL PROTECTED]> wrote: >> My action is extending ActionSupport and overriding the >> "validate" method. However, the validate method is not >> being called. > > > 1. Are you using the default interceptor stack? > 2. Have you configured any interceptors for the action in question? > > >> I have set the form tag validate attribute to true, but >> it makes no difference. > > > <s:form...>'s "validate" attribute does not control server-side validation > (unless you're using the "ajax" theme, I guess). > > > Dave > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-does-one-get-the-%22validate%22-method-to-be-called--tp15160502p15162591.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]