Answer Posted / venkatesh k
destroy() is not realted to garbage collection. As per
servlet life cycle destroy method is one of compulsary
method.it is automatically invoked by Container.Internallly
we may use garbage collection means reclaim the memory.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why servlet is faster than jsp?
How can we invoke another servlet in a different application?
What is the use of servlet context?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What is servlet invoker?
How to read request headers from servlets?
What’s the difference between forward() and sendredirect() methods?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What are the various ways of session supervision in servlets?
What is difference between jsp and servlet?
How are filters?
Why is httpservlet declared abstract?
Difference between doget and dopost?
How do you communicate in between Applets and Servlets?
What is the difference between sendredirect() and forward() in a servlet?