Thanks, it has worked well.
----- Original Message -----
From: "Wendy Smoak" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>; "Matts"
<[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2006 12:17 PM
Subject: Re: Session scope Form
On 9/27/06, Matts <[EMAIL PROTECTED]> wrote:
That's a good idea, thanks. But how can i remove de form from de
session???
The signature of the Action execute method gives you the request and
the action mapping.
From the request, you can get the session. From the action mapping,
you can get the name of the form bean.
[untested]
request.getSession().removeAttribute( mapping.getName() );
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]