The interface for the compiled JSP must have three methods defined:
jspInit() jspDestroy() _jspService(HttpServletRequest request, HttpServletResponse response)
The jspInit() and jspDestroy methods can be defined by the JSP author, while the _jspService method is the compiled version of the JSP page. The creation of the _jspService is the responsibility of the JSP engine.
The jspInit() and jspDestroy() methods are each executed just ...