Hi , Instead of putting every form bean in session, you can put custom VO in session.
Example: Let Page1.jsp, Page2.jsp,Page3.jsp have FormBean1.java, FormBean2.java,FormBean3.java as beans and Action1.java ,Action2.java,Action3.java be the Action Classes respectively. Create BaseVO.java, OneVO.java,TwoVO.java,ThreeVO.java as custome Vos which hold the parameters in JSP like form beans. Incase of form beans make all fields as String fields(Date as String, int As String etc..), incase of Vos use correct fields(date as Date, int as int etc..) Use Composition like BaseVO.java has the three vos in it. In the Action Classess write two methods(in each) like getVOFromForm, getFormFromVO which set custom VO from form and vice versa. Put the BaseVO in session. I hope this will resolve most of your session related problems. Regards, Nagesh -----Original Message----- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Monday, June 05, 2006 8:41 PM To: Struts Users Mailing List Subject: Form Beans in Session Hi We have Pages where user enters some data in step 1 ,step 2 and in last step these data should be submitted to DB. We are putting the all form beans in session as all of our transactions are multiple step process. Is there any better of way not putting the form beans in session???? -- Thanks and Regards Hanmayya Udgiri The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]