Why do you think validation is not working? Is it because you are not seeing error messages? Error messages are not normally preserved across a redirect, if you would like them to be you can add an interceptor to do this.
See if this helps: http://glindholm.wordpress.com/2008/07/02/preserving-messages-across-a-redirect-in-struts-2/ On Wed, Aug 12, 2009 at 11:33 AM, spsarolkar <spsarol...@gmail.com> wrote: > > I am new to struts2 and just wrote one small program. > I wanted to ask why Validation works for only dispatcher result and not > redirect result. > I want it with redirect result because it will allow bookmarking of page > even when validation fails. > -- > View this message in context: > http://www.nabble.com/Validation-does-not-work-on-redirect-result-tp24939128p24939128.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 > >