You have a number of options: 1. If you want to store the data for a while, then put it in to a session. While you should not probably put the entire ResultSet into the session, you might read a single row in a java bean, and store the bean in the session.
2. If it's a single row that you have read, and you just want to display it on the next page, put your bean (the one which represents the row) into the request (setAttribute), and forward to the page that will render (display) the data from the row. After the process completes, the data is lost. On the next request, you might have to re-find your row again. Your page, might want to layout the <hidden> field with the ID of the row you have read, so that you can continue your processing when the user does something next. -AP_ http://www.alexparansky.com Java/J2EE Architect/Consultant http://www.myprofiles.com/member/view.do?profileId=127 -----Original Message----- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Monday, April 15, 2002 11:37 AM To: Struts Group (E-mail) Subject: Managing bean Hi, I'm new to struts and have this question: I have a jsp that talks to a form bean. After successful validation, this formbean is passed to action.perform(). Now I am creating a bean (corresponding to a db row) in the action class using the data from the formbean. Now, where do I store this bean and how do I access it from the action class later? I guess only one instance of the action is created for all the sessions. So, I cannot store the bean as an instance variable of the action class. Thnx, GB -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

