You have to persist your data. If you declare your form in request
scope, then once user clicks on submit on page A, you have to save the
data to a Value Object stored in session. 

Khalid


-----Original Message-----
From: Kalra, Ashwani [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 01, 2003 10:12 PM
To: Struts (E-mail)
Subject: Need to retain the data of the previous page


hi,
I have the following flow.
Page A  :  Display some rows. These rows are not in DB.Initially there
are no rows. It contains add button

Page B : On clicking the add button of Page A,  page B opens up the form
which user  fills and forward back to page A. 
Page A now displays new row along with already existing rows  if there
were.

my Question . How to retains the data of page A. Can struts handle it.
Or I have to use the session object .

TIA
Ashwani

____________________________________________________
This message contains information that may be privileged or confidential
and is the property of the Cap Gemini Ernst & Young Group. It is
intended only for the person to whom it is addressed. If you are not the
intended recipient, you are not authorised to read, print, retain, copy,
disseminate, distribute, or use this message or any part thereof. If you
receive this message in error, please notify the sender immediately and
delete all copies of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to