PQ58312: REQUESTDISPATCHER NOT FLUSHING THE UNCOMMITTED RESPONSE BUFFER | |||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
APAR status Closed as user error. Error description The customer invokes a JSP page which outputs static text and calls theRequestDispatcher.forward() method. Once this method is called, the JSP page identified in parameter to the getRequestDispather() method is retrieved. Lastly the RequestDispather.forward() method is called and results in the contents of BOTH, the first JSP page and the second JSP page are shown in the resultant page.Local fix No workaround available.Problem summary Problem conclusion Temporary fix Comments RequestDispatcher forward inside of jsp's are causing output to come out of order. The correct method for forwarding to other resources is via the jsp forward tag. Since the RequestDispatcher.forward method does not take into account the JspWriter's buffer when clearing uncommitted data, this method should not be used. The jsp forward tag handles the clearing of the uncommitted JspWriter buffer prior to calling the underlying forward method.
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
Document Information |
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ58312
IBM Group: Software Group
Modified date: Feb 27, 2002
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.