tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45600] New: request.getRequestDispatcher include priority is corrupted
Date Fri, 08 Aug 2008 16:23:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45600

           Summary: request.getRequestDispatcher include priority is
                    corrupted
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kgignatyev@gmail.com


For the jsp
<html>
<body>
<h2>Include test!</h2>
<p>1.
<jsp:include page="includePage.jsp?p=1"/>
</p>
<p>2.
<% request.getRequestDispatcher("includePage.jsp?p=2").include(request,
response); %>
</p>
<p>3.
<% request.getRequestDispatcher("includePage.jsp?p=3").include(request,
response); %>
</p>
</body>
</html>

Result is strange: the includePage response where p= 2 and 3 is visible before
p=1
=======
2-I am Include:1218169749332867000 3-I am Include:1218169749333014000
Include test!

1. 1-I am Include:1218169749332762000

2.

3.

====

Reproduce:
attached is war that reproduces the bug so just drop it into webapps and hit 
http://localhost:8080/reqestDispInc/

According to 
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html#include(javax.servlet.ServletRequest,%20javax.servlet.ServletResponse)

this is not what is supposed to happen


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message