Can we call destroy() method inside the init() method? What
happens when we do so?
Answer Posted / mani
In the Servlet programming context, the destroy() method
can never be called by your code and is called by the
servlet container
Is This Answer Correct ? | 23 Yes | 6 No |
Post New Answer View All Answers
Which exception is thrown if the servlet is not initialized properly?
Is it possible to have a constructor inside the servlet?
Differentiate between the print writer and servlet output stream?
What is servlet? Explain
Why are http servlets used in programming?
What's the advantages using servlets than using cgi?
What is the difference between Servlets and Applets?
Explain the methods of request dispatcher in servlet?
What are the uses of servlet
What is called a session?
What are life cycle methods of a servlet?
What are the types of protocols supported by httpservlet ?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is pure servlet?
What is api in servlet?