-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

The problem is that breakpoint was set before the programwas launched for 
debugging.
Alex Bairov

----Original Message Follows----
From: "Craig McClanahan" <[EMAIL PROTECTED]>
Reply-To: "Java Apache Users" <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Subject: Re: Servlet lifecycle
Date: Sat, 07 Aug 1999 06:14:06 -0700

-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Alexey Bairov wrote:

 > Helo!
 > Probably I don`t really understand the way servlet`s methods are executed
 > but I encounted the following.
 > The program execution didn`t break on the breakpoint, placed in the 
init()
 > method.(in JBuilder3). Istead of this, doGet() was executed.
 > Why?
 > Alex Bairov.
 >

One possible reason is that it might have been called already.  The init()
method is only called the first time that a servlet is requested.  If you're
debugging and have already processed one or more requests, init() will not 
get
called again until you reload the servlet, or restart the servlet engine.

Craig McClanahan




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to