There was a problem mentioned on the list a while ago if you specify .class
on the end of the Servlet Class when setting up your servlet you'll see the
problem you mentioned.  Check in your Servlet Setup and make sure it looks
like com.package.Servlet and not com.package.Servlet.class.
    (*Chris*)

----- Original Message -----
From: Mark Foley <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 07, 1999 11:20 PM
Subject: When is destroy() called?


> Hi All,
>
> We have noticed that the servlet destroy() method is
> called every time we close the browser which referenced
> our servlet (with no other browsers in use).
>
> I believed the servlet should only be 'destroy'ed (unloaded)
> when the JVM needed the memory AND the servlet was no
> longer in use.
>
> Alternatively, is there ever a case when destroy() is _not_
> called between the browser closing down and restarting?
>
> We are using ServletExec with IIS and JDK1.1.7a.  The browser
> is IE4
>
> Thanks,
> Mark Foley
> EDS (Australia)
> +61-2-62756494
> [EMAIL PROTECTED]
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to