- From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
- Date: Tue, 09 Nov 1999 09:45:25 +0100
- To: Alfred Wu <kib63613@ms35.hinet.net>
- CC: www-jigsaw <www-jigsaw@w3.org>
The init method is called the first time the servlet is first requested.
Regards, Benoit.
Alfred Wu wrote:
> 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
--
- Benoît Mahé -------------------------------------------------------
World Wide Web Consortium (W3C)
Architecture domain - Jigsaw Engineer
http://www.w3.org/People/Mahe - bmahe@w3.org
---------------------------------------------------------------------
Received on Tuesday, 9 November 1999 03:46:34 UTC