RE: Server side validation not working

2006-07-12 Thread Lance
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:

Re: Server side validation not working

2006-07-12 Thread Pankaj Gupta
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

RE: Server side validation not working

2006-07-12 Thread Samere, Adam J
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

Re: Server side validation not working

2006-07-12 Thread Pankaj Gupta
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

RE: Server side validation not working

2006-07-12 Thread Krishna, Hari
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

Re: Server side validation

2004-05-18 Thread Nicholas L Mohler
To: Struts Users Mailing List <[EMAIL PROTECTED]> | | cc:

Re: Server side validation

2004-05-17 Thread Samuel Rochas
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

Re: Server side validation

2004-05-17 Thread Nicholas L Mohler
t <[EMAIL PROTECTED]> | | cc:

Re: Server side validation

2004-05-14 Thread Samuel Rochas
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 --

Re: Server side validation

2004-05-14 Thread Samuel Rochas
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

RE: Server side validation

2004-05-14 Thread Geeta Ramani
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 >

Re: Server side validation

2004-05-13 Thread Samuel Rochas
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

RE: Server side validation

2004-05-13 Thread Geeta Ramani
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 ..? > >

Re: Server side validation

2004-05-13 Thread Samuel Rochas
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

RE: Server side validation

2004-05-13 Thread Geeta Ramani
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]