I think the beans u are talking are ActionForm..???
If so no need to worry.When u define action in struts-config.xml, you provide
scope for ur bean as
once bean scope is provided, struts creates a variable named as "yourFormBean"
in scope you specified.You can just remove this variable from
Dave,
You can use this: HttpSession.invalidate(); and poof! there go all your
beans..;)
regards,
Geeta
David Thielen <[EMAIL PROTECTED]>
08/05/2005 06:14 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
{Spam?} Deleting all beans
Hi;
When a user logs out I would like to delete all beans that JSF created
and attached to the session. And I would like to end the session too if
possible.
Is there a way to do this. Preferably without having to know the names
of the beans as that requires we not miss one.
Thanks - dave
3 matches
Mail list logo