W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1999

confirm a question.

From: Alfred Wu <kib63613@ms35.hinet.net>
Date: Sat, 6 Nov 1999 00:58:13 -0500 (EST)
Message-ID: <3823C377.38EC8B37@ms35.hinet.net>
To: www-jigsaw <www-jigsaw@w3.org>
    Execute me, I am doing the project which the applet and the servlet
communicate with each other via socket connection . I successfully make
communication with each other via http connection. But when the applet
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,
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:35 UTC