--

Charles Canning wrote:

> --
>
> Hi,
>
> The normal means is:
>
> HttpServletRequest getServerPort();
>
> So, I guess I am trying to get the information from within a servlet.
>
> Later...
> ...charles
>

This call gets the port number that the client used to contact the web server
(normally 80), not the port used between Apache and Apache JServ -- even in a
non-load-balanced installation.  There is no mechanism in the servlet API to
convey the information you are looking for.  I would suggest setting some
unique servlet initialization parameter in each JServ instance so that you can
tell them apart.

Craig McClanahan




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to