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!

request.getHeader("Host")

843835Aug 14 2002 — edited Aug 14 2002
Hello JSP gurus,
The request.getHeader("Host") method always returns an IP address and port number instead of the Host string. I have looked at the HTTP logs and examined the headers and the host field always contains a string like 'myhost.mydomain.com'.
What could be going wrong here ? I really appreciate your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2002
Added on Aug 14 2002
4 comments
526 views