DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13955>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13955 getScheme() and getRequestURL() always return "http" with JDK 1.3.1 Summary: getScheme() and getRequestURL() always return "http" with JDK 1.3.1 Product: Tomcat 4 Version: 4.1.12 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] We have a servlet that uses the HttpServletRequest.getRequestURL() method to determine the URL it was called from. We are using mod_jk connector between Apache web server and Tomcat and are running Apache version 1.3.22 with SSL. If we run Tomcat 4.1.12 with JDK 1.4 the getScheme() method returns "https" when we invoke the servlet through https and returns "http" when we invoke it through "http". But if we run Tomcat 4.1.12 with JDK 1.3.1, the getScheme() method returns "http" no matter whether you invoke it using http or https. The getPort () returns the port number correctly (80 or 443) but the getScheme function returns wrong value for https. -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>