Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting Computer Name from JSP Page

843835Mar 21 2002 — edited May 15 2002
I'm having difficulty consistently getting the host name of a remote client from a jsp page.

hostName = InetAddress.getByName(request.getRemoteHost());

The page is located on a company intranet and works on certain clients, but on others I'm just getting an IP address returned. Any idea's on what to look at as far as the network set up goes or what may be causing the inconsistency.

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2002
Added on Mar 21 2002
7 comments
863 views