You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David M. Holmes" <da...@yahoo.com> on 2000/12/14 00:41:43 UTC

Tomcat reports incorrect HTTP port from HttpUtils.getRequestURL(request)

** Please respond to david_m_holmes@yahoo.com **
Tomcat 3.2 final

If I call this
https://www.affiliate.com/test.jsp

and test.jsp contains this
<%= HttpUtils.getRequestURL(request).toString() %>

I get this
https://www.affiliate.com:80/test.jsp

Notice the incorrect port. Is this a known bug with the Servlet libs, or Tomcat?

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/