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 2004/10/16 00:46:33 UTC
DO NOT REPLY [Bug 31738] New: -
doAfterBody is not being called for some JSP files.
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=31738>.
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=31738
doAfterBody is not being called for some JSP files.
Summary: doAfterBody is not being called for some JSP files.
Product: Tomcat 4
Version: 4.1.30
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: vishy.kasar@borland.com
Oor QA engineer reported this against Tomcat embedded in Borland Enterprise
Server. I am not sure if this is a dup or not. A bugzilla query did not show
the same bug.
There are two jsp files with same content but slightly differet XML syntax.
one works correctly, the other one doesn't. The difference of those two files
is:
<easy:myTag number="2" power="3">
</easy:myTag>
vs
<easy:myTag number="2" power="3" />
The first one works.
Basically if the "Bad" one is being used, the function doAfterBody() is not
being called even if the "doStartTag()" is returning "EVEL_BODY_INCLUDE"
value.
A test case is attached, you can try by invoking:
http://localhost:8080/Power/Good.jsp, or http://localhost:8080/Power/Bad.jsp
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org