Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
V.DURGA PRASAD
Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
cmbhatt
V.DURGA PRASAD
Description in javadocs:
Called by the servlet container to indicate to a servlet that the servlet is being taken out of service. This method is only called once all threads within the servlet's service method have exited or after a timeout period has passed. After the servlet container calls this method, it will not call the service method again on this servlet.
This method gives the servlet an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the servlet's current state in memory.
Thanks and Regards<br />Naresh govindaswamy
Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Originally posted by mgnaresh mgnaresh:
This is the one way to accept and another way is the REQUEST and RESPONSE object is killed at the end of the destroy() so all resources is released autometically....
Originally posted by padmapriyagururajan priya:
Do you mean to say that the destroy() method releases the resources and not the developer.
Thanks and Regards<br />Naresh govindaswamy
[My Blog]
All roads lead to JavaRanch
Originally posted by padmapriyagururajan priya:
Hi Naresh,
Do you mean to say that the destroy() method releases the resources and not the developer. Am I right?
Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Squanch that. And squanch this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|