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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to