Re: errors get lost on redirect

2004-08-20 Thread Axel Seinsche
Hubert Rabago schrieb: Well, not really set the input, but you can direct the request to the correct one in your java code. First off, set validate=false on the action. Then, in your action, call the form's validate() yourself. Lastly, if there are validation errors, call saveErrors() to save the

Re: errors get lost on redirect

2004-08-20 Thread Hubert Rabago
On Fri, 20 Aug 2004 17:19:24 +0200, Axel Seinsche <[EMAIL PROTECTED]> wrote: > Bill Siggelkow schrieb: > > > I don't understand exactly why you are doing the redirect? Why not > > just set the input attribute to be the page you are redirecting to ... > > then Struts will forward to it when validat

RE: errors get lost on redirect

2004-08-20 Thread Jim Barrows
> -Original Message- > From: Axel Seinsche [mailto:[EMAIL PROTECTED] > Sent: Friday, August 20, 2004 8:19 AM > To: Struts Users Mailing List > Subject: Re: errors get lost on redirect > > > Bill Siggelkow schrieb: > > > I don't understand exact

Re: errors get lost on redirect

2004-08-20 Thread Axel Seinsche
Bill Siggelkow schrieb: I don't understand exactly why you are doing the redirect? Why not just set the input attribute to be the page you are redirecting to ... then Struts will forward to it when validation fails. Can I set the input attribute in my Java Code? I thought I have to define it in

Re: errors get lost on redirect

2004-08-20 Thread Bill Siggelkow
I don't understand exactly why you are doing the redirect? Why not just set the input attribute to be the page you are redirecting to ... then Struts will forward to it when validation fails. Axel Seinsche wrote: Hi all, in my struts application I have 4 forms which have to be filled to store an