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 21440] - <jsp:include> whose target performs a 'forward' does not behave as expected
Date Wed, 09 Jul 2003 23:09:01 GMT
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=21440>.
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=21440

<jsp:include> whose target performs a 'forward' does not behave as expected





------- Additional Comments From jan.luehe@sun.com  2003-07-09 23:09 -------
Remy, I agree in general with your comments about the RD.

However, I think this particular case (testcase_1) is covered by SRV.8.4:

"If output data exists in the response buffer that has not been committed, the
content must be cleared before the target servlet's service method is called."

and

"Before the forward method of the RequestDispatcher interface returns, the
response content must be sent and committed, and closed by the servlet
container."

My proposed change (in org.apache.jasper.runtime.ServletResponseWrapperInclude)
will make the "ForwardServlet" case consistent with <jsp:forward>, which already
implements the required behaviour.

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


Mime
View raw message