I think it was me who pointed you down that route to destroy & recreate a form bean to clear any data in it.
reset() is not used for this purpose - read up on what reset() does. "servlet" is a variable of Action and is available in all methods of your own Action classes. Paul > -----Original Message----- > From: lixin chu [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 28, 2004 3:52 AM > To: [EMAIL PROTECTED] > Subject: ActionForm: simply calling reset() or have to recreate one ? > > > Hi, > IN one of my Actions I need to clear the existing > session scoped ActionForm, should I just call > form.reset() and then repopulate values, or I have to > remove it and recreate it using RequestUtils ? > > I saw a recent message talking about this, but I am > not sure if I have to recreate one. If so, how do I > get the servlet parameter needed in: > > RequestUtils.createActionForm(request, mapping, > mapping.getModuleConfig(), servlet); > > thanks ! > > li xin > > > > > _______________________________ > Do you Yahoo!? > Win 1 of 4,000 free domain names from Yahoo! Enter now. > http://promotions.yahoo.com/goldrush > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ********************************************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]