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 2002/10/09 09:57:57 UTC
DO NOT REPLY [Bug 13443] New: -
request.getRequestURI() problem with jsp:include tag
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=13443>.
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=13443
request.getRequestURI() problem with jsp:include tag
Summary: request.getRequestURI() problem with jsp:include tag
Product: Tomcat 4
Version: 4.1.12
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: rdv@noroutine.fr
the script:
file test.jsp:
<jsp:include page="include.jsp" flush="true>
<%=request.getRequestURI()%><br />
<%=request.getRequestURL()%>
file include.jsp:
<p>simple text</p>
When I run test.jsp, instead of writing the good URI and URL (with the path to
file), it writes piece of headers like :E HTML PUBLIC "-//W3C
It works well only if the test.jsp file is forwarded by a servlet.
In the other cases, inserting a code like <%request.getRequestURI();%> resolve
the problem.
It seems that this bug doesn't appear in Tomcat 4.0.x release
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>