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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:33 GMT