But it seems like the "ActionErrors validate" method from my ActionForm class is called, fails, and my execute handler is not called. Is there a way in the struts-config.xml file that I can set up a foward upon validation failure?
This is what my struts action is currently ... <action path="/hhFlow" type="com.myco.regui.struts.accounts.AccountsAction" scope="request" name="REAccountLookUpBean" validate="true"> </action> - Dave Jim Kiley wrote: > > Just have the result of the input() method return them to a different page > under that condition. > > On Fri, Feb 27, 2009 at 12:41 PM, laredotornado > <laredotorn...@gmail.com>wrote: > >> >> Hi, >> >> If request validation fails, how can I forward the user to a different >> page >> than that from which they came? The scenario is that an external web >> site >> is going to invoke our site with something like >> "/ourForm.do?param1=xxx¶m2=yyyy" and if their parameters are not >> valid, >> we want to forward them to another page on our site. >> >> Thanks for your help, - Dave >> >> -- >> View this message in context: >> http://www.nabble.com/Struts-2-question-about-validation-and-forwarding-tp22250708p22250708.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > -- > Jim Kiley > Technical Consultant | Summa > [p] 412.258.3346 [m] 412.445.1729 > http://www.summa-tech.com > > -- View this message in context: http://www.nabble.com/Struts-2-question-about-validation-and-forwarding-tp22250708p22250852.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org