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
'<c:set var="myFormBean" value="${null}"/>'. You will have to include
the proper taglib as well, google "c:set" for more information.

-ed

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 way to do that?
>
> thanks!
> markus
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
    "The greatest tyrannies are always perpetrated in the name of the
noblest causes." Thomas Paine
    "Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety" - Benjamin
Franklin

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

Reply via email to