RE: ActionForm - redirect to custom JSP after validation failed

2004-01-13 Thread Christian Schlaefcke
using struts, so I don't use > the > above scenario myself, yet. > > My 2 cents.. > > Pritpal Dhaliwal > > > -Original Message- > From: Richard Hightower [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 13, 2004 9:20 AM > To: Struts Users Mailing L

RE: ActionForm - redirect to custom JSP after validation failed

2004-01-13 Thread Dhaliwal, Pritpal (HQP)
cents.. Pritpal Dhaliwal -Original Message- From: Richard Hightower [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 9:20 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: ActionForm - redirect to custom JSP after validation failed First, the behavior experiencing

Re: ActionForm - redirect to custom JSP after validation failed

2004-01-13 Thread Kris Schneider
If I understand what you're asking, try setting validate="false" in your action mapping so that validation is deferred to your action. Otherwise, Struts will perform validation automatically and, as you've noticed, never invoke your action if there are errors. Another option would be to keep valid

RE: ActionForm - redirect to custom JSP after validation failed

2004-01-13 Thread Richard Hightower
First, the behavior experiencing is as designed. I suggest getting a good book on Struts geared for Struts novices like Professional Struts published by Wrox (written by James Goodwill and me). You can turn validation off in the action mapping (action element in the struts config file) by setting

Re: ActionForm - redirect to custom JSP after validation failed

2004-01-13 Thread Mark Lowe
You could forward (not redirect) to a generic failure page if there are errors present. I confess i haven;t done this but it could be what you want, even forward to a global forward defined in struts config, so you can reuse you error page for other stuff. On 13 Jan 2004, at 16:27, Christian