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

jasper2 sometimes creates multiple declarations of the same variable name in the 
generated servlet - jsp compilation fails





------- Additional Comments From [EMAIL PROTECTED]  2002-09-13 07:58 -------
I have the same problem with this code:

<logic:iterate id="c" name="contact" property="contacts">
  <tr>
    <td>
      <bean:write name="c" property="name"/>
      <br><bean:message key="prompt.tel"/> : <bean:write name="c" 
property="phone"/>
      <br><bean:message key="prompt.fax"/> :  <bean:write name="c" 
property="fax"/>
      <br><bean:message key="prompt.email"/> :<a href="mailto:<bean:write 
name="c" property="email"/>"><bean:write name="c" property="email"/></a>
    </td>
    <td>
    <logic:iterate id="element" name="c" property="titles">
        <bean:write name="element" property=""/>
        <br>
    </logic:iterate>
    </td>
  </tr>
</logic:iterate>

It seems that the problem happens in nested iteration tags. I think the local 
variable is declared as global, so when trying to redeclare the variable during 
iteration, an error happens.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to