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

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

From: lacall <lacall@micron.com>
Date: Mon, 19 Apr 1999 09:29:49 -0400 (EDT)
Message-ID: <B1272D4045CBD111A96E0020AFFBF32D03DB7CAB@ntxchange03.micron.com>
To: "'Yves Lafon'" <ylafon@w3.org>
Cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
That fixed it; thanks!

Luke Call
EDM Group
Micron Technology, Boise 

-----Original Message-----
From: Yves Lafon [mailto:ylafon@w3.org]
Sent: Friday, April 16, 1999 1:40 AM
To: lacall
Cc: 'www-jigsaw@w3.org'
Subject: Re: servlet calls init() method every time it runs?

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
> 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

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Monday, 19 April 1999 09:52:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:26 UTC