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
http://www.arc-mind.com/consulting.htm#StrutsMentoring
-Original Message-
From: Christian Schlaefcke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 9:27 AM
To: [EMAIL PROTECTED]
Subject: ActionForm - redirect to custom JSP after validation failed
Hi Folks,
I have a simple login.
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
Hi Folks,
I have a simple login.jsp that I want to validate. So I have a Class
"LoginForm" with a "validate" method, that fills up the ActionErrors with
the errors that might occur (missing username/password, wrong
username/password). Later the execute method of the corresponding Action
class "Log
6 matches
Mail list logo