Hi!
   Servlet get starts with init() method when you
invoke it first time thru html. After executing init()
it goes and executes doGet() or doPost(). after that
every time you call the servlet the doGet() or
doPost() only get executed.

Prasad
[EMAIL PROTECTED]

--- Gary Wesley <[EMAIL PROTECTED]> wrote:
> Servlet-savants,
>
> I am new, but the behaviour I see of my servlet
> surprises me:
>
> 1) I start JWS, an end point is created
> 2) I start an HTML page which sends to the servlet
> 3) The servlet comes up, inits and goes straight
> into doGet()
> (where it hangs)
>
> I thought the servlet would init after 1 based on my
> webserver.html and wait for input.
>
> Will it do the same thing when I get my applet
> going?
>
> Gary newbie Wesley
> Some Internet Company
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives:
>
http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
>
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help:
> http://www.lsoft.com/manuals/user/user.html
>


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to