You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/07/27 21:27:58 UTC

DO NOT REPLY [Bug 35425] - getRequestURL() no longer works as stated in API

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





------- Additional Comments From zwu_ca@yahoo.com  2006-07-27 19:27 -------

I don't know how to obtain origianl request url. I used the 
request.getAttribute("javax.servlet.forward.request_uri") and it returned the 
same thing as the request.getURI(). Can anyone give an example?


(In reply to comment #7)
> Thanks Mark. This really helped.
> (In reply to comment #6)
> > The return value is as required by SRV8.4
> > 
> > The javadocs are, in my view, misleading as none of them take any account 
of the
> > requirements of SRV8.4
> > 
> > If you want the original request, then obtain it as per SRV.8.4.2
> > 
> > There was some debate about this change on the tomcat-dev list but the
> > conclusion was that the current behaviour is the correct one.



-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org