tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From faustas.zilins...@firstunion.com
Subject Re: running init() twice?
Date Fri, 08 Dec 2000 22:55:32 GMT


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:Irina.Rubenchik@msdw.com]
   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:Irina.Rubenchik@msdw.com]
     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 >>


Mime
View raw message