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/01/30 02:50:29 UTC
DO NOT REPLY [Bug 16576] New: -
JSP 1.2 spec section 10.2.2 - BodyTag
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=16576>.
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=16576
JSP 1.2 spec section 10.2.2 - BodyTag
Summary: JSP 1.2 spec section 10.2.2 - BodyTag
Product: Tomcat 4
Version: 4.1.18
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: dave.whitla@ocean.net.au
The Catalina servlet container does not call the doAfterBody() method of a
BodyTag handler if the BodyTag's corresponding XML tag in the JSP is empty.
While this may seem sensible, it is required by the JSP spec that
setBodyContent(), initBody() and doAfterBody() are called if the return value
from doStartTag() is EVAL_BODY_BUFFERED. In such a case the container should
push an empty BodyContent object onto the pageContext BodyContent stack. This
may break (has broken) web apps implementing custom tag handlers that conform
to the standard.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org