> I'm interrested in the host name and port number used by
> the servlet
> engine that initialize me; and at init() time please, not
> when doGet() or
> doPost() is called (it will be to late for me).
>
I think that the people who have responded are confused as to what exactly
you are looking for.
>From the init() method in your servlet, are you looking for
(a) the host name and port of the client attaching to your servlet?
- this information is not availible, because the client has not
actually connected at the point and time init() is called.
(b) the host name and port of the server that this servlet is on?
- this depends what servlet engine is being used to serve your
servlet.
(c) the host name and port of "the servlet engine that initialize me" ????
huh?
- huh?
G
___________________________________________________________________________
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