Hey have a attribute called "firsttime" in form bean. set it to "true" inside validate() in formbean.
Now in jsp check whether the value of the firsttime is true or not(<c:if test="${firstTime == true}">) if its true set all the original values to the formbeam properties(<jsp:setProperty ...) and if not set the user entered values into the formbean you can use <jsp:useBean <bean:define <c:if test="${firstTime == true}"> <jsp:setProperty name=" </c:if <html:text property=" </jsp:usebean It worked well 4 me :) Happy Validation With Best Regards, I.Hari krishna. ------------------------------------------------------------ Franklin Templeton Investments +91- 44 - 24407000 Extn:17123 -------------------------------------------------------------- -----Original Message----- From: Kim Brianne Go [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 19, 2006 10:23 AM To: Struts Users Mailing List Subject: Problem with Validator it does not reload request attributes Good Day, I was just wondering if anyone has a clue on how to retain request values ( request.setAttribute()) forwarded to a jsp form page and once a form has been submitted or validated then returns with error messages the values from request.setAttribute() is no longer accessible. Here's an example... A form has an OptionsCollections populated using the request.setAttribute()... from an action class. I applied the Validator (Server-side) to perform input validations, everything works well aside from the problem specific to the OptionCollections... since it requires the values sent to the jsp page prior to submission and validation. A temporary solution was to put the OptionsCollections inside the bean:present tag to avoid disrupting the entire page's execution. But this is not acceptable in practice since the input field that requires OptionsCollections is necessary. Does anyone have an idea how to go about this aside from doing a bean:present or putting the values in session? Thanks, Brian Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]