Hi All, I am using struts as my framework. I have an identify.jsp which has many fields. As the user login he will be taken to identify.jsp here he will fill some fields, and then goes to other pages as he wants. But when he returns to the identify.jsp the fields need to be pre populated. I did this by storing the fields in a session, as the user leaves the identify.jsp and when he returns to this page i just take the data from session and pre populate the fields.
But the problem is that the fields are pre populated some time and some time blank. Especially the first time the session is not getting activated.
And many times after coming to the identify.jsp I need to manually refresh the page to see the pre population.
You can set your form bean scope to session , which will preseve values between multiple requests. Make sure you haven't called form.reset()..anywhere in your code between requests. [ January 14, 2008: Message edited by: vishalraju shah ]
SCJP1.4 (92%), SCWCD (85%), SCBCD (81%), SCEA-I (In Progress)