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
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
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
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
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
5 matches
Mail list logo