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=15105>.
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=15105

pushBody()/popBody() error on tomcat 4.1.12

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-01-14 00:32 -------
Notice that the behaviour your are experiencing indeed used to be a
bug, but it's been fixed.

In Tomcat 4.1.x, any BodyContent that is being reused is cleared in
the generated servlet code right after the call to pushBody(), like
this:

 javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
 _bc.clear();
 out = _bc;
 _jspx_th_xxx.setBodyContent(_bc);
 _jspx_th_xxx.doInitBody();

In Tomcat 5, the contents of a reused BodyContent are cleared inside
of org.apache.jasper.runtime.BodyContentImpl.setWriter(), so the
BodyContent returned by pushBody() has already been cleared.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to