Return-Path: Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 20571 invoked from network); 4 Oct 2000 20:05:34 -0000 Received: from unknown (HELO smtp.bspark.com) (root@216.218.30.50) by locus.apache.org with SMTP; 4 Oct 2000 20:05:34 -0000 Received: from scooby.corp.bspark.com ([216.218.30.35]) by smtp.bspark.com (Switch-2.0.0/Switch-2.0.0) with ESMTP id e94K2jd03460 for ; Wed, 4 Oct 2000 16:02:45 -0400 Received: by scooby.corp.bspark.com with Internet Mail Service (5.5.2650.21) id <4GP13RR8>; Wed, 4 Oct 2000 16:05:29 -0400 Message-ID: <2D90C2075E27D4118960000629A832E5CE93DA@scooby.corp.bspark.com> From: Colin Sampaleanu To: "'struts-user@jakarta.apache.org'" Subject: RE: ActionForm clearing Date: Wed, 4 Oct 2000 16:05:28 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N The obvious suggestion is to stick the form bean in the request instead of in the session... If you do not need to share the form between multiple requests then this is probably the cleanest way... > -----Original Message----- > From: Aur Gal [mailto:Aur@dovesolutions.com] > Sent: October 4, 2000 3:45 PM > To: 'struts-user@jakarta.apache.org' > Subject: RE: ActionForm clearing > > > Hi Don, > this is troubling me too. One way I thought of solving it was > to invalidate > the session but it didn't seem to work or I didn't do it right. If the > session is invalidated the bean is wiped out and so when the > form is loaded > again it has to create a new session and a new bean. It > worked for me with > standard JSP so it should work with struts. > > -----Original Message----- > From: Don Jones [mailto:dojo@kdsi.net] > Sent: Wednesday, October 04, 2000 2:39 PM > To: struts-user@jakarta.apache.org > Subject: ActionForm clearing > > > When using a do I need to manually clear the > ActionForm > or is there some built-in STRUTS functionality that will do this for > me? It is probably right in front of me and I am not seeing it. In > my app, after a I forward back to the jsp from which > this form can be selected again. When selected the inputs from the > previous entry are still in the form. > > Cheers, > Don Jones >