https://issues.apache.org/bugzilla/show_bug.cgi?id=48492
Summary: RequestDispatcher.include(...) jumps the queue of
out.print()
Product: Tomcat 6
Version: 6.0.16
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: major
Priority: P2
Component: Servlet & JSP API
AssignedTo: [email protected]
ReportedBy: [email protected]
The response of the including Servlet/JSP is always put after all responses
of all included Servlets/JSP:
B.jsp
---------------------------------------------------------
Line B
---------------------------------------------------------
ABC.jsp
---------------------------------------------------------
Line A
<% RequestDispatcher dispatcher = request.getRequestDispatcher("/B.jsp");
dispatcher.include( request, response ); %>
Line C
---------------------------------------------------------
Expected Response of ABC.jsp:
---------------------------------------------------------
Line A
Line B
Line C
---------------------------------------------------------
Actual Response of ABC.jsp:
---------------------------------------------------------
Line B
Line A
Line C
---------------------------------------------------------
--
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: [email protected]
For additional commands, e-mail: [email protected]