Maya,
It seems you storing a list of records in request

Set the attribute in session scope, and when you delete the record update the 
attribute in session when you are in editAction
Or
In Edit action again set the update attribute in request scope
Cheers
-----Original Message-----
From: Maya menon [mailto:[EMAIL PROTECTED] 
Sent: 07 June 2006 14:52
To: user@struts.apache.org
Subject: Handling attribute values

Hi all,
   
  1. I have an action class, DisplayAction which displays the records from 
database. Here I am setting a vector into the request scope and on success 
forwarding it to displayresults.jsp. 
   
  2. Display results.jsp displays all records with an option of delete to the 
users.
   
  3. Now, once user deletes the records, by going to editaction, on success it 
should again display the displayresults.jsp. How will I get the attribute I set 
in step one here again. 
  what path should I follow ?
   
  DisplayAction -> displayResults -> EditAction 
   
  EditAction should again display displayResults and get the attribute set in 
DisplayAction.
   
  Please help

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to