W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: servlet calls init() method every time it runs?

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 16 Apr 1999 09:39:44 +0200 (MET DST)
To: lacall <lacall@micron.com>
cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.10.9904160938040.22796-100000@tarantula.inria.fr>
On Thu, 15 Apr 1999, lacall wrote:

> I have a servlet that I have pared down to a simple form, and it has a
> memory leak. In testing, I noticed that the init() method is called every
> time the servlet is invoked, rather than only the first time. Is calling the
> init() method every time a bug, or something I have configured wrong?
> Thanks!

A bug similar to the one you describe has been fixed recently (when your
servlet is indexed as foo.bar.foobar), you can try the latest
developpement version, available at
http://jigsaw.w3.org/Devel/classes/19990414/
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Friday, 16 April 1999 03:40:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT