Send me the piece of html or jsp where u r invoking your servlet.
-----Original Message-----
From: Irina Rubenchik [SMTP:[EMAIL PROTECTED]]
Sent: Friday, December 08, 2000 8:42 AM
To: Parayali, Jayesh 1065
Cc: tomcat-user
Subject: Re: running init() twice?
I'm running on winNT, and I do have print statements in my init(). This is how I see that it is being called for both frames.
"Parayali, Jayesh 1065" wrote:
�
are you running on winNT?
try displaying something inside init()
like System.out.println("now starting init....");
-----Original Message-----
From:�� Irina Rubenchik [SMTP:[EMAIL PROTECTED]]
Sent:�� Thursday, December 07, 2000 9:36 AM
To:���� Parayali, Jayesh 1065
Subject:������� Re: running init() twice?
Then how come it is called twice?
"Parayali, Jayesh 1065" wrote:
�
init will be called only once.. you don't need to set anything.
������� -----Original Message-----
From:�� Irina Rubenchik [SMTP:[EMAIL PROTECTED]]
Sent:�� Thursday, December 07, 2000 6:37 AM
To:���� tomcat-user
Subject:������� running init() twice?
������� Hello,
������� I have a web page with 2 frames. Both frames invoke one servlet with
different parameters. When I run this servlet, it seems like it is
executing the init method twice, once for each frame. Is there an option
������� that I can set in tomcat, which would make sure that the init method of
my servlet only invoked once?
������� Thanks
irina << File: Card for Irina Rubenchik >>
�<< File: Card for Irina Rubenchik >>
<< File: Card for Irina Rubenchik >>
