Organizational Research By

Surprising Reserch Topic

Question:What JSP lifecycle methods can I override?



asked Sep 13, 2013 in JSP by anonymous
edited Sep 12, 2013
0 votes
27 views



Related Hot Questions

2 Answers

0 votes
You cannot override the _jspService() method within a JSP page. You can however, override the jspInit() and jspDestroy() methods within a JSP page. jspInit() can be useful for allocating resources like database connections, network connections, and so forth for the JSP page. It is good programming practice to free any allocated resources within jspDestroy().
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013
0 votes
You cannot override the _jspService() method within a JSP page. You can however, override the jspInit() and jspDestroy() methods within a JSP page. jspInit() can be useful for allocating resources like database connections, network connections, and so forth for the JSP page. It is good programming practice to free any allocated resources within jspDestroy().
answered Sep 13, 2013 by anonymous
edited Sep 12, 2013

...