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
What is http servlet in java?
What is servlet used for?
What is the inter-servlet communication?
What are the types of servlets? Explain
What is api in servlet?
What is generic servlet class?
What do you mean by interservlet communication?
How we can get ip address of client in servlet?
What are Servlets?
What are its drawbacks of cgi?
What are the type of protocols used in httpservlet?
What is a servlet-to-servlet communcation?
What is the difference between 2 types of servlets?
Write a servlet to upload file on server.
Which interface must be implemented by all servlets?