0 Replies Latest reply on Dec 5, 2002 9:18 PM by Oshri Zvi

    Java Server Pages - jspDestroy() method

    Oshri Zvi Newbie

      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)

      jspInit() is been called, but jspDestroy() isn't.

      I'm running JBoss under Win 2000 JVM 1.4.

      Any suggestions?

      Thanks in advance.