>>> Nicholas Whitehead <[EMAIL PROTECTED]> 23-Feb-00 10:18:04 PM >>>
>I am having an issue with objects being garbage
>collected in my servlet. I saw some code recently that
>could manage objects so as to prevent them from being
>garbage colleced. Anyone seen this ?
All you need to do to stop GC is keep a reference to an object.
Use an instance variable in your servlet to keep a reference or, if
you need it per-servlet thread use a connection attribute.
Nic Ferrier
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html