Java has a garbage collector that does the job for you. But if you want to explicitly tell the collector to get rid of the object you could point it to null:
ArrayList() = null; --- "Wilson E. Lozano R." <[EMAIL PROTECTED]> wrote: > Hi Guys, > I have a question, when i use a object (for example ArrayList()) into a > jsp page, is necesary that i detroy te object when end the session?.. > Regards... > (sorry my english is not good) > > ----------------------------------- > Wilson Ernesto Lozano RolOn > Ingeniero de Sistemas > Administrador WEB > Universidad Industrial de Santander > e-mail [EMAIL PROTECTED] > tel. 6344000 ext 2162 > ----------------------------------- > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
