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=35425>. 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=35425 Summary: getRequestURL() no longer works as stated in API Product: Tomcat 5 Version: 5.5.9 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hello, probably due to fix in bug #28222 (but this is not confirmed) getRequestURL() doesn't work like described in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletRequest.html#getRequestURL() javadoc page. This is most visible when using struts. When users request address (i.e.) http://localhost/struts_action.do (which is purely forward action) requestURL() used in jsp page where this action forwards returns address of that page (however address in browser is still struts action). This violates sentence from api docs that requestURL() "Reconstructs the URL the client used to make the request." Above behaviour breaks applications which depend on it. With Tomcat 5.0.48 requestURL() works correctly. Radoslaw Grzanka -- 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]