confirm a question.

Hi,
    Execute me, I am doing the project which the applet and the servlet
can
communicate with each other via socket connection . I successfully make
them
communication with each other via http connection. But when the applet
connects
to the servlet, the error message prompted on the Java Console indicate
"java.net.ConnectException:Connection refused". I think it is the result
of the
init(ServletConfig ) method of servlet not called. And my question is
when init(ServletConfig )  method is called by the server. I think it
may be called
while the request is invoked. It is not called while the jigsaw server
start. Is my
assumption correct ?
    According to the description of Java Servlet Program,
init(ServletConfig)
method called by the server depends on the server and its configuration
:
    * When the server starts
    * When the servlet is first requested
    * At the request of the server administrator
   So I want to confirm if it is called while the jigsaw server starts.
Thanks and regards,
          Alfred Wu

Received on Sunday, 7 November 1999 18:25:46 UTC