Hi folks,
I'm running the latest jboss-3.0.4 for my application.
I would like to use jspDestroy() - for stopping a thread object to work.
It seems that the generated servlet doesn't call jspDestroy() method.
This is the JSP declatartion code:
<%!
KeepAliveTask keepAlive = null;
public void jspInit()
{
System.out.println("jspInit called");
}
public void jspDestroy()
{
if (keepAlive != null)
keepAlive.cancel();
}
%>
jspInit() is been called, but jspDestroy() isn't.
I'm running JBoss under Win 2000 JVM 1.4.
Any suggestions?
Thanks in advance.
Oshri