W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2001

Re: servlets and method init()

From: Jan Zuurbier <j.zuurbier@planet.nl>
Date: Sat, 10 Feb 2001 14:43:54 +0100
Message-ID: <003501c09367$8333f9b0$cbda79c3@kukeleku>
To: "Greg Kopff" <gkopff@powersource.com.au>
Cc: <www-jigsaw@w3.org>
Thanks for your reaction.

No, there is no exception in method init(). I checked this.

I've now got a copy of Dustin Calayaw's book 'Inside Servlets'. It seems
that some webservers  create multiple instances of a servlet class. For each
instance method init() is called. I think jigsaw is one of these servers.

J. Zuurbier.

----- Original Message -----
From: Greg Kopff <gkopff@powersource.com.au>
To: <J.Zuurbier@icim.fnt.hvu.nl>
Cc: <www-jigsaw@w3.org>
Sent: Wednesday, February 07, 2001 11:17 AM
Subject: Re: servlets and method init()

At 05:04 AM 2/6/01 -0500, you wrote:
>Method Servlet.init(ServletConfig config) is called after every request.
>Method Servlet.destroy() is only called when jigsaw closes down.


This may be because your servlet is throwing an exception in its init
method, thus never properly initialising...


 Greg Kopff
gkopff@powersource.com.au      PowerSource Software
Technical Director    http://www.powersource.com.au
  "We mock what we don't understand."
                               - Austin Millbarge
Received on Saturday, 10 February 2001 08:36:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:37 UTC