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
List out difference between a JavaBean from a Servlet?
why we should override only no-agrs init() method.
Explain jsessionid?
What is ServletConfig object?
What are the advantages of servlets over traditional cgi?
Why servlet is faster than jsp?
What’s the use of the servlet wrapper classes??
What is http servlet? Explain with the help of an example.
How are filters?
What are the differences between forward() method and sendredirect() methods?
What is meant by cookies?
What's the difference between authentication and authorization?
Is it possible to have a constructor inside the servlet?
How do I use cookies to store session state on the client?
Explain servlet events?