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 2001/12/06 19:49:46 UTC
DO NOT REPLY [Bug 5308] -
jsp:include ignores flush attribute
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=5308>.
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=5308
jsp:include ignores flush attribute
------- Additional Comments From jakarta@appling.org 2001-12-06 10:49 -------
I think that this bug is in need of a compelling use case - here's what brought
this to my attention.
I want to use jsp:include inside of a custom action which is derived from
BodyTagSupport. The current implementation of generateInclude will flush the
output stream (which is actually a BodyContent object) which will result in an
exception since BodyContent doesn't support flush. I thought I could avoid
this problem by using <jsp:includ flush="false">, but as explained before, that
doesn't work. Actually according to section 4.4. of the jsp specification the
default should be to NOT flush the output stream before an include and it
appears that the current implementation always does the opposite.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>