This question gets asked about once a week on this list ;) http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-when-validation-fails.html
On Wed, Jun 24, 2009 at 9:07 AM, Kishan G. Chellap Paandy < kishanchellapaand...@spanservices.com> wrote: > Hi Folks, > > I'm populating a list in my action class, which will be used in the JSP for > populating a <s:select/> tag. > > Now, I'm submitting the form, where I'm doing validation (server side > validation) thru validation.xml. And this throws some action/field errors > and the same JSP page is rendered again with the errors. But, the list to > populate <s:select/> tag is empty/lost. How I can retain it? > > Storing in session is not an option for me. And if redirect/redirectAction > the action/field errors are lost. > > Please advice. > > Thank you. > Regards, > Kishan.G > > Team Leader. > www.spansystems.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >