DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35317>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35317 Summary: HttpServletRequest.getRequestURL() does not work. Product: Tomcat 5 Version: 5.5.9 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: critical Priority: P1 Component: Servlet & JSP API AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I have an application running on Tomcat 5.0.25, which, in a forwarded JSP page, correctly returns this on request.getRequestURL(): http://host:port/Context/ServletMappingName In Tomcat 5.5.9 I get this: http://host:port/Context/JspFile.jspx?parm1=value1&parm2=value2 This is clearly wrong: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getRequestURL() "Reconstructs the URL the client used to make the request." "but it does not include query string parameters." The URL used was: http://host:port/Context/ServletMappingName?parm1=value1&parm2=value2 So Tomcat 5.0.25 behavior is correct, and Tomcat 5.5.9 is incorrect. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]