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 the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is string tokenizer?
What is servlet lazy loading?
What is the life cycle of a servlet?
What's the advantages using servlets than using cgi?
What is the difference between genericservlet and httpservlet
What is the dispatcher servlet?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
What is the web server used for running the Servlets?
Difference between doget and dopost?
Why doesn’t a servlet include main()? How does it work?
What is the use of welcome-file-list?
What is new in ServletRequest interface ? (Servlet 2.4)
What methods do you use in servlet - applet communication?
What do you mean by url pattern in servlet?