Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
Overriding JSP Methods
What JSP lifecycle methods can I override?
✍: FYICENTER.com
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().
The jspInit() and jspDestroy() methods are each executed just once during the lifecycle of a JSP page and are typically declared as JSP declarations
2007-04-03, 4857👍, 0💬
Popular Posts:
How To Truncate an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you want to remov...
Can two catch blocks be executed? No, once the proper catch section is executed the control goes fin...
What is V model in testing? V model map’s the type of test to the stage of development in a project....
Do You Know the Book "JUnit in Action"? You should know this book. It received some good reviews. Ti...
Once I have developed the COM wrapper do I have to still register the COM in registry? Yes.