Re: Struts 2 question about validation and forwarding

2009-03-02 Thread laredotornado
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

Re: Struts 2 question about validation and forwarding

2009-03-02 Thread Dave Newton
laredotornado wrote: I only want to forward if validation fails -- i.e. don't need to run the execute method. But I don't know how to set that up in my struts-config.xml file (or some other file if that's what's needed). How do I do that? IIRC execute isn't executed on a validation failure;

Struts 2 question about validation and forwarding

2009-02-27 Thread laredotornado
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

Re: Struts 2 question about validation and forwarding

2009-02-27 Thread Jim Kiley
://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

Re: Struts 2 question about validation and forwarding

2009-02-27 Thread laredotornado
-- 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

Re: Struts 2 question about validation and forwarding

2009-02-27 Thread Burton Rhodes
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

Re: Struts 2 question about validation and forwarding

2009-02-27 Thread Dave Newton
laredotornado wrote: 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