I wonder if I want to know what does this servlet do....

dave.)

pascal jacob wrote:

> I'm sorry, I may have been a little bit evasive.
> Anyway as of what I've read so far, it seems rather imposible to have this
> kind of information at init() time. So I will fallback to plan B and use a
> boolean to extract the information on the first doGet()/doPost() [Making a
> two phases init !!!].
>
> Thanks you all.
> ZartC++
>
> >>     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

--
David Mossakowski        [EMAIL PROTECTED]
http://www.dwdog.com/styk      212.310.7275

"I don't sit idly by, I'm planning a big surprise"
F         U         G         A        Z        I

___________________________________________________________________________
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

Reply via email to