A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Joined: Aug 06, 2002
Dec 19, 2002 04:11:00
The above method in httpsession, does it clear its resources as well, (bascally setting the removed object to null) or is the attribute itself still available ?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Dec 19, 2002 10:31:00
You don't set an object to null, you set a reference to null. The reference in the session is set to null, whether or not the object you attached to a session is GCed when you remove it depends on if other references exist.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014