| Author |
Persistence Of ArrayList
|
shiva sarna
Greenhorn
Joined: Jul 23, 2006
Posts: 23
|
|
Hi, I am developing an address book using struts frame work. I am facing the following problem. The user can add address to the compose mail input box and can also append addresses. When he reloads the page the session is destryed but the arraylist persist. For example if he has add two address shiva@yahho.com,shiva@gmail.com then he hits reload(for no reasons..)and then again click on AddressBook to add some other address(example shiva@rediffmail), what he gets in his text box is. shiva@yahoo,shiva@gmail,shiva@rediffmail. please advise me on this thanks for your time. protozoa
|
SCJP 5.0
|
 |
shiva sarna
Greenhorn
Joined: Jul 23, 2006
Posts: 23
|
|
Hi Guys, Please help me out with this..I have not yet received any reply. waiting for your replys. protozoa
|
 |
Purushoth Thambu
Ranch Hand
Joined: May 24, 2003
Posts: 425
|
|
|
It's too abstract to answer. It might help if you can explain with more information. Where is arrayList stored? What do you mean by session is destroyed when user reloads page?. Show us ActionForm, action mapping and other relevant information as well.
|
 |
nguyen van cuong
Greenhorn
Joined: Feb 20, 2006
Posts: 4
|
|
Hi sarna, I'm not sure about your issue, but if you know that arrayList will persit until you haven't reset data in it. i'm confusing with your sentence is "When he reloads the page the session is destryed but the arraylist persist" pls, make Van Cuong, [ September 07, 2006: Message edited by: nguyen van cuong ] [ September 07, 2006: Message edited by: nguyen van cuong ]
|
 |
 |
|
|
subject: Persistence Of ArrayList
|
|
|