The usual mechanism for this is to persist intermediate data to a session-scope object which is persisted after all data has been accumulated. Struts provides excellent support for this pattern.
-----Original Message----- From: ian stone [mailto:[EMAIL PROTECTED] Sent: Sun 9/19/2004 11:25 AM To: Tomcat Users List Cc: Subject: persistence after the request response cycle Hi All, In my present set up I have a servlet serving a HTML page, the HTML page returns the form data via POST which the same servlet saves to a MySQL database. I'd like to extend the present setup so that after receiving the 1st POST data, the servlet responds with HTML page 2. HTML page 2 then returns form data via POST to the same servlet. The servlet would then save the accumulated responses from HTML pages 1 & 2 to the MySQL database. How can I get the servlet to remember or persist the response of HTML page 1 without writing to the database or to file. Thanks Ian ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
