How to override jspInit() method
I made a video tutorial of how to override jspInit() method using screentoast.com. Unfortunately, the website has gone done, so I just put the notes here.
Like jspDestroy(), jspInit() is executed just once during the lifecycle of a JSP page. It is typically declared as JSP declarations. Here is a simple code for doing that.
<%! public void jspInit() { //whatever you want jspInit to do } %> <html> ... </html> |
<pre><code> String foo = "bar"; </code></pre>
-
dhara