Re: servlets and method init()

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.

Regards,
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.

G'day.

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

Regards,


 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