This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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 email@example.com,firstname.lastname@example.org
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.
please advise me on this
thanks for your time.
Joined: Jul 23, 2006
Please help me out with this..I have not yet received any reply.
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.
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
[ September 07, 2006: Message edited by: nguyen van cuong ] [ September 07, 2006: Message edited by: nguyen van cuong ]