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 21717] - BodyContent backing stream
Date Thu, 24 Jul 2003 15:41:04 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=21717>.
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=21717

BodyContent backing stream

fatsu@pandora.be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Can't insert page '...':    |BodyContent backing stream
                   |Illegal to flush within a   |
                   |custom tag                  |



------- Additional Comments From fatsu@pandora.be  2003-07-24 15:41 -------
my actual problem: (pseudo)

| write aaaa;
| start custom tag (BodyTagSupport)
| write bbbb;
| pageContext.getOut().flush();
| include other jsp;
| write cccc;
| stop custom tag;

This gives me the "illegal to flush" exception.
If i leave the flush out.

i get the following:
| aaaa
| <content of included jsp>
| bbbb
| cccc
a messed up page.

BodyContent.flush() javadoc: It is not valid to flush a BodyContent because 
there is no backing stream behind it.

I took a look at Weblogic since i know on that platform the thing i described 
above works fine. I found out that their implementation IS using a backing 
stream and therefor allows all those actions... 

my question: Are their any plans on implementing this in Tomcat?

---------------------------------------------------------------------
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