Marc Saegesser wrote:
In Tomcat 3.2.x, specifying more than one name for a servlet in web.xml
causes a separate instance to be created for each name and each instances
init() method will et invoked. Essentially creating a new servlet for each
name as opposed to multiple names for a single
Sorry about that. I was still thinking Servlet 2.1 API spec. The Servlet
2.2 spec is much tighter.
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 29, 2000 2:35 PM
To: [EMAIL PROTECTED]
Subject: Re: Init() being called 3 times
Marc
1) Set Tomcat's debug level to something big (say 20).
2) Add a System.out.println() call to the begin and end or your init()
method. Include a timestamp.
3) Add a call to Thread.currentThread().dumpStack() to the start of your
init() method.
4) Post the output here.
It is extremely
Message-
From: Marc Saegesser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 28, 2000 1:46 PM
To: [EMAIL PROTECTED]
Subject: RE: Init() being called 3 times
1) Set Tomcat's debug level to something big (say 20).
2) Add a System.out.println() call to the begin and end or your init
Message -
From: "Marc Saegesser" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, December 28, 2000 12:49 PM
Subject: RE: Init() being called 3 times
In Tomcat 3.2.x, specifying more than one name for a servlet in web.xml
causes a separate instance to be create