request.getHeader("Host")
843835Aug 14 2002 — edited Aug 14 2002Hello 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.