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 5308] - jsp:include ignores flush attribute
Date Thu, 06 Dec 2001 18:49:46 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=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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message