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=15066>. 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=15066 reuse of variables Summary: reuse of variables Product: Tomcat 4 Version: 4.1.16 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Using a code like this in jsp results in compile-errors: ---cut--- <% if (bAnyVar == true) { %><anytag id="sHrefString" param="A" /><% %><a href="<%=sHrefString%>">TEST TRUE</a><% } else { %><anytag id="sHrefString" param="B" /><% %><a href="<%=sHrefString%>">TEST FALSE</a><% } %> ---cut--- For the first condition a "String sHrefString" declaration is generated in the Servlet. For the second condition this declaration is missing (wrong reuse??) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>