servlets and method init()

I am using Jigsaw 2.1.2 to run and test some servlets. Now I have made a
simple servlet and it didn't work properly. The reason was the following:

Method Servlet.init(ServletConfig config) is called after every request.
Method Servlet.destroy() is only called when jigsaw closes down.

This is not what I would expect. I would expect method init() to be called
only once before method destroy() is called.

J. Zuurbier.

Received on Tuesday, 6 February 2001 05:48:42 UTC