Hi All:
I have a Web App in which I can add/edit/delete and list events using an eventForm Object which is stored in session in the struts-config action declaration. Addition/Deletion/Editing works perfectly but if I click on an Event for Editing and later try to add an Event, the previous Events details will populate my Add Event Form as "eventForm" is shared by both and also share the same jsp. To avoid this problem I introduced the following request.getSession().setAttribute("eventForm", new EventForm()). This solved the problem. However now I have another problem I go to the form page and then click add. It goes to the Preview page. Everything shows perfectly. Now I click on the Back Button. Lo and Behold !!!!! The Add Fields are all empty. Pls can someone tell me how to get rid of this problem. Thanks. Chetan _____________________________________________________________________ CHETAN PANDEY Executive - Technology Services BLUE, 1 Maritime Square, #13-02 Harbourfront Centre, Singapore 099253 DID +65-6212-0863 main line +65-6333-3336 fax +65 6336-6334 email <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] website <http://www.bluesingapore.com/> www.BLUEsingapore.com _____________________________________________________________________ BEIJING SHANGHAI LONDON TOKYO PALO ALTO SINGAPORE CONFIDENTIALITY STATEMENT: This email and its attachment(s) contain Privileged/Confidential information. If you are not the intended recipient, the distribution, use or replication of the information in this email is strictly prohibited. If you have received this email in error, please notify the sender immediately by return email, then delete this email and any attached documents. Any opinions, conclusions or views expressed in this email are those of the individual sender, except where he/she -- expressly and with authority -- states them to be the views of BLUE.