DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=16830>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=16830 Jasper do not reset BodyContent for tags with BodySupport and empty content ------- Additional Comments From [EMAIL PROTECTED] 2004-03-23 08:48 ------- Are you kidding us Kin-Man?!? I don't want to start a flame thread here as it would be highly unproductive - but hey, this behaviour is really dumb from Tomcat! Others containers do handle this case "correctly"! Please see in the JSP specification (1.2 of course), page 164, the init procotol describes that *all* properties of a tag must be _initialized_ after doEndTag(). See page 174, "The JSP page implementation will _create_ a BodyContent if the doStartTag() method returns a EVAL_BODY_BUFFERED." By opposition, a BodyContent object must *not* be created/available if doStartTag() does not return EVAL_BODY_BUFFERED, right? Thus if my understanding is correct, after the init protocol, for a tag that returns SKIP_BODY, the variable bodyContent must be _null_ when we execute the doEndTag(). Actually, this is not the case in Tomcat. And you've got to admit & correct this. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]