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 2003/01/28 20:56:13 UTC
DO NOT REPLY [Bug 16508] New: -
Response is not being committed after RequestDispatcher forward
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=16508>.
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=16508
Response is not being committed after RequestDispatcher forward
Summary: Response is not being committed after RequestDispatcher
forward
Product: Tomcat 4
Version: 4.1.18
Platform: PC
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: mhill1w@yahoo.com
I upgraged from Tomcat 4.1.12 to 4.1.18 and discovered new behavior with the
RequestDispatcher. After the forward method, the response is no longer being
committed.
I believe this is a bug. Acording to the Servlet 2.3 spec, section 8.4. It
says, "Before the forward method of the RequestDispatcher interface returns, the
response content must be sent and committed, and closed by the servlet
container."
With tomcat 4.1.18 this is not true. After the forward method, if you call
response.isCommitted() it returns false.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>