> Hi Carl,
> I am also looking for same thing. I have written a bean for counter. I
want
> to serialise this bean  to a file so that on server restart i should be
able
> to get the last  count . Currently  I am explicitily writing it in file
> using stream . I want to use object serialisation.
> I have ' implements serialisable' but yet not clear when and what method
> will be called when server is being stopped.
>

Like already said ServletContextListener is what you're searching.

-mw

___________________________________________________________________________
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