Answers were Sorted based on User's Feedback
Answer / n.l.narayana
destroy() method is invoked automatically when ever the
servlet object is removed from the webcontainer
|Is This Answer Correct ?||4 Yes||0 No|
Answer / shakir khan
When server wants to remove the servlet from pool,it will
execute the destroy().
destroy() is invoked,when servlet is unloaded from
memory.This is a good place to clean up any resources(Such
as open files or database connections).
|Is This Answer Correct ?||1 Yes||0 No|
When jsessionid is created?
What are the parameters of the service method ?
What are the supporting protocol by HttpServlet ?
How two servlets communicate with each other?
What is a servlet context object?
how the server will know its the same jsp page?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
How to handle exceptions thrown by application with another servlet?
What is Generic Servlet and how it is different from Http Servlet?
What do you mean by deployment descriptor?
What do you mean by httpservlet?
What is httpservlet class?