The destroy method is not called as it is considered unsuccessful initialization. During initialization, the servlet instance can throw an UnavailableException or a ServletException. In this case, the servlet must not be placed into active service and must be released by the servlet container.
Category:Servlet Interview Questions
No comments:
Post a Comment