aspose file tools
The moose likes Servlets and the fly likes garbage collection in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "garbage collection in JSP" Watch "garbage collection in JSP" New topic

garbage collection in JSP

Shuaib Gill
Ranch Hand

Joined: May 29, 2001
Posts: 62
How do you delete objects in a JSP page? Is there a destroy() method you could use? Sample code would be very helpful...

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12911
Unless you are talking about objects that get system resources other than memory, such as database connections or graphics contexts, all you have to do is ensure there are no references to the object. GC will take care of it.
This is just basic Java - are people trying to do JSP without the basics of Java?

author of:
I agree. Here's the link:
subject: garbage collection in JSP