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 2002/03/29 22:23:41 UTC
DO NOT REPLY [Bug 7392] -
A body tag without a body doesn't generate correct JSP code
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
kin-man.chung@sun.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
Summary|A body tag without a body |A body tag without a body
|doesn't generate correct JSP|doesn't generate correct JSP
|code |code
------- Additional Comments From kin-man.chung@sun.com 2002-03-29 21:23 -------
In a xml document, <tag ... /> and <tag ...></tag> both represent an empty
element and are syntatically equivalent (see
http://www.w3.org/TR/REC-xml#NT-ETag). I doubt that you can use the first form
as a workaround to your problm, while the second form fails. In both cases,
doAfterBody will not be invoked, for an empty tag.
A easy workaround is to insert a space or '\n' between the Stag and Etag:
<custom:input type="submit" value="click me"> </custom:input>
or
<custom:input type="submit" value="click me">
</custom:input>
BTW, why can't you use doEnTag instead of doAfterBody for empty tags?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>