Sr.Java Web Developer Question:

Do you know what is the jspDestroy() method?

Sr.Java Web Developer Interview Question
Sr.Java Web Developer Interview Question

Answer:

jspDestry() method is invoked from javax.servlet.jsp.JspPage interface whenever a JSP page is about to be destroyed. Servlets destroy methods can be easily overridden to perform cleanup, like when closing a database connection.


Previous QuestionNext Question
Explain me what are the advantages of Hibernate over JDBC?Please explain what is exception hierarchy in java?