Turn off validation in struts-config by setting validate="false". Then you call validate manually in your save method, which is typically where you would want validation code.
-----struts-config snippet----- <action path="/login" type="com.mycompany.controller.LoginAction" name="myForm" scope="session" validate="false" parameter="Dispatch"> <forward name="Success" path="login.pg"/> <forward name="HomePage" path="/do/homePage" redirect="true"/> <forward name="FailedAuth" path="login.pg" redirect="true"/> <forward name="AlreadyRegistered" path="welcome.pg" redirect="true"/> <forward name="NewUser" path="welcome.pg" redirect="true"/> <forward name="ChangePwd" path="login.pg" redirect="true"/> <forward name="ForgotPwd" path="forgotPwd.pg" redirect="true"/> </action> -----save method in action class----- public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws ServiceException { ActionErrors errors; MyForm myForm = (MyForm) form; errors = myForm.validate(mapping, request); if (errors.isEmpty()) { // save to database ... return mapping.findForward(Constants.SAVED); } else { saveErrors(request, errors); return mapping.findForward(Constants.VALIDATIONERROR); } } -----Original Message----- From: Gabriel França Campolina [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 6:44 AM To: [EMAIL PROTECTED] Subject: Inicialiazing a LookupDispachAction Hi Folks, I have a action-mapping that mapping a Action named ProdutoAction that extends LookupDispachAction and have 3 methods into: start, delete, save. I'd like inicialized my form with values of my dataBase request the method start. With ActionForm I can do, but I was used the DynaValidatorForm and Validator. And When I request the url .../produto.do?method=start, it validate my form and call the my input attribute, How I call a method in LookupDispachAction without validate????? Thanks, Sorry Daniel, I don't more post my messages in portuguese.... -- Gabriel França Campolina Tel: 9202-8320 --------------------------------------------------------------------- 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]