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 2004/10/21 12:20:48 UTC
DO NOT REPLY [Bug 31825] New: -
getRequestURL() does not return complete URL on home page
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=31825>.
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=31825
getRequestURL() does not return complete URL on home page
Summary: getRequestURL() does not return complete URL on home
page
Product: Tomcat 5
Version: 5.0.29
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: dimitri.vergos@fr.ibm.com
When trying to access a home page of an application (ie the page defined in
<welcome-file>somepath/homePage.jsp<welcome-file> ), if i type
http://server/ContextName then method request.getRequestURL() of homePage.jsp
returns the URL typed (http://server/ContextName/)instead of the actual URL
(http://server/ContextName/somePath/homePage.jsp).
This is true on Tomcat 5.0.xx and 5.5 versions, but works fine on 4.1 version.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org