What you say is definitely doable but consider this. You would need to save the data from each screen till the end of the screens i.e. the 8th screen. You can do this by saving the data in the session (not advisable as the session object will be huge). Or you could pass data as hidden fields onto each subsequent page. A lot of work. Plus this ties your data to your front end. So, e.g. if you change the name of a field representing a piece of data, you would need to make the corresponding changes on every JSP page too. Ugh!
Also, if the user decides to navigate away from the screen while filling oout the forms, his session is timed out or he closes the browser. If he was on the 8th screen, he would lose all 7 screens of previous data. An alternative design would be to have separate actions and struts forms for each page or even have 1 big struts form for all the pages and multiple actions accessing that form. And save the data on each submit, tab etc. Harsh. -----Original Message----- From: A. Lotfi [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 3:53 PM To: user@struts.apache.org Subject: forms in struts-layout tabs ?? Hi, I have 8 forms (every form will be stored in a separate table), I am wondering if it is possible to have one jsp page with 8 tabs , fill up the form in the first tab, move to other tabs and fill forms and at the end press a one submit button to save data ( from these forms) to the database. Thank you. --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2ยข/min with Yahoo! Messenger with Voice. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]