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 >>
begin:vcard 
n:Rubenchik;Irina
tel;pager:888-919-6628
tel;work:212-762-1594
x-mozilla-html:FALSE
org:MSDW;IT
adr:;;750 7th Ave, 14th Floor;New York;NY;10019;USA
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Irina Rubenchik
end:vcard

Reply via email to