Vijay Kumar
jspDestroy() in jsp
1 Answer(s)      6 years and 5 months ago
Posted in : JSP-Interview Questions

What is the jspDestroy() method?


View Answers

October 29, 2010 at 12:35 PM

The jspDestroy() method of the javax.servlet.jsp.JspPage interface is invoked by the container when a JSP page is about to be destroyed. This method is similar to the destroy() method of servlets. It can be overridden by a page author to perform any cleanup operation such as closing a database connection.

Related Tutorials/Questions & Answers: