The form bean is stored under a key from the Globals class. You can remove the bean by getting the session and calling removeAttribute with the Globals key.

David






From: ROSSEL Olivier <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: Removing an ActionForm from its scope.
Date: Wed, 27 Nov 2002 18:00:59 +0100

I have an ActionForm of type "MyOwnActionForm".
I want to remove it completely from its scope (which is "session" in my
application).

In Struts 1.0.2, I could have used a RemoveFormBeanAction to do that.
This action is not available anymore.

What's the process in Struts 1.1b2 ?


---cut here---


This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

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

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


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

Reply via email to