PQ76408, 5.0.1: No IllegalStateException when doing
JSP forward after response
Downloadable files
Abstract
No IllegalStateException thrown when doing JSP forward
after response has been committed.
Download Description
PQ76408 resolves the following problem:
ERROR DESCRIPTION:
A JSP attempts to forward a request to another resource after the response
has been committed. WebSphere allows the forward to succeed, but it should
instead raise an IllegalStateException according to the J2EE
specification.
This problem has been identified internally by defect 171672.
USERS AFFECTED:
WebSphere Application Server users who do a forward in a JSP to another
resource when the response has been committed.
PROBLEM DESCRIPTION:
A JSP attempts to forward a request to another resource after the response
has been committed. WebSphere allows the forward to succeed, but instead
it should raise an IllegalStateException according to J2EE specification.
RECOMMENDATION:
The Web container can not detect if the response has been committed if the
user does a forward with a wrapper or a forward happens in a JSP.
PROBLEM CONCLUSION:
The Web container has been modified to add a new check if the response has
been committed when the forward happens in the JSP or with a wrapper.
Prerequisites
The UpdateInstaller is needed to apply this fix. UpdateInstaller, is
separate from this fix.
Please download the latest version of the UpdateInstaller tool.