-----------------------------
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]

Reply via email to