You can also check if the form bean's reset() method can do the job for you.

--- [EMAIL PROTECTED] wrote:
> 
> How to remove the form bean element from the session if that's the case
> 
> -----Original Message-----
> From: Geeta Ramani [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 06, 2004 2:14 AM
> To: Struts Users Mailing List
> Subject: Re: Reset all form bean elements in one shot
> 
> 
> Anant: So a brand new form bean won't do the job..?
> Geeta
> 
> [EMAIL PROTECTED] wrote:
> 
> > Hi,
> >
> > I wanted to know if there is any way in which we can reset all the
> > elements of the form bean without giving individual resets all the
> > time
> >
> > for e.g I have 4 elements in my form bean. say A,B,C,D I am interested
> 
> > in resetting all the four without giving
> >
> > resetAllElements() {
> > A = null
> > B = null
> > C = null
> > D = null
> > }
> >
> > Note: My form bean has session scope(I need it)
> >
> > Regards
> >
> > Anant
> >
> > Confidentiality Notice
> >
> > The information contained in this electronic message and any
> > attachments to this message are intended for the exclusive use of the
> > addressee(s) and may contain confidential or privileged information.
> > If you are not the intended recipient, please notify the sender at
> > Wipro or [EMAIL PROTECTED] immediately and destroy all copies of
> > this message and any attachments.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> Confidentiality Notice
> 
> The information contained in this electronic message and any attachments to
> this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
> privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
> [EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to