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/02/13 17:29:18 UTC

DO NOT REPLY [Bug 17049] New: - Invalid code generated when nesting tags

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

Invalid code generated when nesting tags

           Summary: Invalid code generated when nesting tags
           Product: Tomcat 4
           Version: 4.1.20
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: yannc76@yahoo.de


JASPER fails to generate correct code under some circumstances, e.g. when using 
<c:forEach> and nesting other tags in the loop.

Problem are the generated "_jspx_push_body_count_c_forEach_XXX" variables.

<QUOTE>Remy Maucherat: The problem is with the code generator, with a change to 
restore the writer when there's an exception in a tag.</QUOTE>

Problem does *not* exist prior to 4.1.20.

See attached JSP and generated JAVA-sources from 4.1.19 and 4.1.20.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org