can i call destroy() method in init() method of servlet
Answer Posted / archana
yes, u can call destroy() method in init() of Servlet.
but calling destroy() in this way doesnt unload servlet
from servlet container.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
how many jsp scripting elements are there and what are those?
What is the difference between sendredirect() and forward() in a servlet?
Explain the features are in servlet 3?
What is the difference between genericservlet and httpservlet
Explain the difference between get and post method in servlet?
Who is responsible for writing a constructor?
Explain the difference between a web server and a web container?
What do you mean by singlethreadmodel interface?
Write a program to show the functionality of doget and dopost method?
Explain the custom jsp tags and the beans.
What is cgi and what are its drawbacks?
What is session tracking?
How can a servlet be used to generate plain text instead of html?
What is the difference between encodeRedirectUrl and encodeURL?
explain the advantages of servlet life cycle?