I got it, here is a way to override the init and destroy methods:
<%!
public void jspInit()
{
}
public void jspDestroy()
{
}
%>
I found this from JSP1.0 reference document.
-Swamy
> -----Original Message-----
> From: Joe Blow [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 12, 1999 3:51 PM
> To: [EMAIL PROTECTED]
> Subject: Initialization and Clearing for a JSP page
>
> Hi,
>
> How to do the initialization and destruction in the JSP page like 'init'
> and
>
> 'destroy' methods of a servlet.
>
> Thanks in advance,
> Swamy
>
> ==========================================================================
> =
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JSP-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".