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/07/24 17:41:04 UTC
DO NOT REPLY [Bug 21717] -
BodyContent backing stream
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