Thanks, Robert I believe the second approach is better for me. I have to build the site having in mind that there might be a number customers connected to the site at the same time and many of them might start registering and change their mind somewhere in the middle of the process. So, leaving a number of JaveBeans in the session is really risky (unless I can set a session time out and remove the abandoned bean when it is timed out).
Thanks again Olga --- Robert Taylor <[EMAIL PROTECTED]> wrote: > One possible solution is to store information > collected from your forms and > store it in a JavaBean in your session. After you > persist the information > you could remove the bean from the session. > > You do run the risk of the user leaving the process > and having data hanging > around. > > Another solution is to "store" the collected > information in hidden form > fields as the user progresses through the process. > This way if they leave > the process, no data is left hanging around. > > This has been discussed before; check the mail > archives at > http://www.mail-archive.com/struts-user%40jakarta.apache.org/ > > HTH, > > robert > > > -----Original Message----- > > From: Olga Agady [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, August 11, 2002 3:21 PM > > To: Struts Users Mailing List > > Subject: Collecting data from several jsp > > > > > > Hello, > > > > I am using struts in my web application. To > register a > > customer a need several JSPs with different forms. > The > > data are not stored in the database until the last > > form is filled and "Submit" button is clicked. > Could > > someone recommed me a good design for collecting > data > > from several JSPs using struts? Probably this is a > > basic question, but I am new in web-application > > programming and would appreciate any help. > > > > Regards > > Olga > > > > __________________________________________________ > > Do You Yahoo!? > > HotJobs - Search Thousands of New Jobs > > http://www.hotjobs.com > > > > -- > > 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]> > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>