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

A body tag without a body doesn't generate correct JSP code

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  2002-03-29 22:00 -------
JSP.10.1 says:

"   Empty and Non-Empty Actions
    An empty action has no body; it may use one of the two syntaxes: either
<foo/> or <foo></foo>.  Since empty actions have no body the methods related to
body manipulation are not invoked."

It is pretty clear that doAfterBody should not be invoked for empty tags. 
Period.

You should not be doing things in doAfterBody for tags that are empty, in the
first place.  Like I suggested, try doing what you want in doEndTag instead.

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

Reply via email to