1. Is validate="true"?
2. Or are you explicitly calling ActionForm.validate() in your action?
If so you'll have to call Action.saveErrors().
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: 12 July 2006 14:05
To: Struts Users Mailing List
Subject:
Yes
Samere, Adam J wrote:
Did you set the input attribute on your action mapping in
struts-config.xml ?
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 8:55 AM
To: Struts Users Mailing List
Subject: Re: Server side validation not
Did you set the input attribute on your action mapping in
struts-config.xml ?
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 8:55 AM
To: Struts Users Mailing List
Subject: Re: Server side validation not working
Yes I did.
Krishna, Hari
Yes I did.
Krishna, Hari wrote:
did u put properly in jsp
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 6:13 PM
To: Struts Users Mailing List
Subject: Server side validation not working
Hi All,
I am using server side validation in
did u put properly in jsp
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 12, 2006 6:13 PM
To: Struts Users Mailing List
Subject: Server side validation not working
Hi All,
I am using server side validation in my application. The problem is tha
To: Struts Users Mailing List <[EMAIL PROTECTED]>
|
| cc:
Hello Nicholas,
Ok, thank you very much for the explanation, it makes the things a bit
clearer and less magical to me.
I have two questions:
-Why making that difference once for all? I mean, why not just accept
everything here (page, action, forward)?
-Where is a good and complete documentation
t <[EMAIL PROTECTED]>
|
| cc:
Hello Geeta,
I've solved the problem, still don't really understand the reason.
I've defined a global forward for the input of my reluctant form, and
now, in case of validation error, I am forwarded to the desired page,
not to the blank one.
Thanks for you help.
Samuel
--
Good Morning Geeta,
Geeta Ramani wrote:
Hmm.. Ok, look at the source code of the page you get.. anything there?
No so much, right?
I used to work, then I probably change _something_
Sincerly
Samuel
--- andinasoft SA - Software y Consulting ---
Mariano Aguilera 276 y Almagro - Quito, Ecu
Hmm.. Ok, look at the source code of the page you get.. anything there?
Geeta
> -Original Message-
> From: Samuel Rochas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 6:42 PM
> To: Struts Users Mailing List
> Subject: Re: Server side validation
>
Hello Geeta,
"login" must have been defined as a global-forward ..?
You are right, I am quite new here, I did no notice.
No reason. So just take it out..:)
Ok, it's gone.
But I still get an empty page when I make a validation error :-(
The validation code is going thru, maybe another hint?
Sam
Samuel:
> > input="/myDir/myForm.jsp"
> If the page is under /web (root of the application), then a
> "/page.jsp"
> is ok?
Yes, that should be ok.
> Why in the login example there is only a input="login"
> without a page name?
"login" must have been defined as a global-forward ..?
>
>
Hello Geeta,
Thanks again for your answer.
Geeta Ramani wrote:
The "input" field is the path to the jsp where your form resides, something like:
input="/myDir/myForm.jsp"
If the page is under /web (root of the application), then a "/page.jsp"
is ok?
Why in the login example there is only a in
Samuel:
The "input" field is the path to the jsp where your form resides, something like:
input="/myDir/myForm.jsp"
..and you may want to check on the "scope=session" bit. Are you using session scope?
Geeta
> -Original Message-
> From: Samuel Rochas [mailto:[EMAIL PROTECTED]
15 matches
Mail list logo