The HttpServletRequest object contains that information, and it provides it to you on every request.

-Tim

rf wrote:
I have some funcionality available on my server that
is supposed to be used by clients over network(http).
Now to demonstrate this I have some sample clients
within my server, how are these supposed to connect to
the server? I need the hostname & port to construct
the server URL at beginnning of my web application,
and make it available to the sample clients to use.

How is this kind of a problem typically approached?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to