Something like the following should do the job...
request.getSession().removeAttribute("action_form_name");
Jeff
-Original Message-
From: Markus Demetz [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 11, 2006 6:05 AM
To: Struts Mailing List
Subject: remove ActionForm from session
Hi al
If you don't need to access it in your JSP page, you can do
'request.getSession().removeAttribute("myFormBean");'
If your JSP needs the form, at the end of the JSP page you can put
''. You will have to include
the proper taglib as well, google "c:set" for more information.
-ed
On 3/11/06, Markus
On 3/11/06, Markus Demetz <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> i have some ActionForms which I declared with a session scope. This because
> I validate them over more steps.
>
> After a completed task (i.e. registration) I would like to remove them to
> keep session small.
>
> is there a simple
3 matches
Mail list logo