Why not change those forms to request scope instead?Where ever feasible I mean.If any
data is not shared across pages in a wizard like flow, just put that form in
request.This should be applicable to 90% of the cases.
But It may not be as simple as that.You may have to retest entire application
ActionForm has this attribute :
protected transient ActionServlet servlet
All ActionForms share the same ActionServlet instance. As this attribute is transient,
it will not be serialized if form
is put in session (and session itself is serialized).
So I think the session size is not well
: miércoles, 28 de enero de 2004 14:35
Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: RE: Problem with huge session memory and ActionForm
Why not change those forms to request scope instead?Where
ever feasible I mean.If any data is not shared across pages
in a wizard like flow, just put
to 9iAS more than related to Struts?
Thanks!
-Mensaje original-
De: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 28 de enero de 2004 15:13
Para: Struts Users Mailing List
Asunto: Re: Problem with huge session memory and ActionForm
ActionForm has
, January 28, 2004 3:18 PM
Subject: RE: Problem with huge session memory and ActionForm
Thanks Shirish.
That´s the solution we are trying now, but I still don´t understand why an
ActionForm has a reference to the ActionServlet.
Does anybody know, please? Or am I missing something?
thanks
5 matches
Mail list logo