The short answer is don't redirect when validation fails. For results of "input" you should not be doing a redirect or you get the problem you described.
On Thu, Oct 29, 2009 at 11:13 AM, Siddiq Syed <siddiq...@yahoo.com> wrote: > > Hi all, > > I have been using Glindholm's RedirectMessageInterceptor to perserve the > validations/error messages and is working absoulty fine. > > But the problem is the values in the fields are not stored. > > If a form has 10 fields of which 2 fields are not valid(It does not pass > validation), Intercerptor displays the error message but doesnot shows the > values in the fields of the form. > > I hope you guys got the problem. I don't want the user to enter all the > values every time even if the validation fails for 1 or 2 field. > > Please let me know if you have occured this problem and have the solution > for the same. > > Thanks in advance. > > http://glindholm.wordpress.com/ > > > Thanks > Siddiq. > -- > View this message in context: > http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redirect-in-Struts-2-tp26114968p26114968.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >