Hi,
If my action generates a collection of Java objects, and this collection is
attached to the pageContext and forwards to a jsp page, do I need
to worry about to dereference this collection when the page goes out
of scope?
On the same token, if this collection is attached to the session, do I
need to worry about deferencing the objects when session times out?
If I set the collection to the session using:
session.setAttribute("mylist", mycollection);
does subsequent call
session.setAttribute("mylist", myothercollection);
will automatically deference all the existing objects in mycollection?
I am running into some memory leaks and I need some clarification
on how to get rid of this problem. Appreciate any explanation on this
issue.
Thanks,
Ray