try like this
<% String fname="firstName["+j+"]";%>
> <td><html:text name="addRateForm" property="<%=fname%>"/><td>
i didnt check it.pardon me if it doesn't work
Partha
> ----------
> From: Sashi Ravipati[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Wednesday, June 11, 2003 5:48 PM
> To: [EMAIL PROTECTED]
> Subject: Error Message: Invalid indexed property
>
> Hi
>
> I am using logic:iterate tag as shown below
>
> <logic:iterate id="element" name="addRateForm" property="firstName"
> indexId="i" >
> <tr>
> <% int j = ((Integer)
> pageContext.getAttribute("i")).intValue(); %>
> <td><html:text name="addRateForm"
> property="firstName[<%=j%>]"/><td>
>
> </tr>
> </logic:iterate>
>
> Error Message: Invalid indexed property 'firstName[]'
>
> I did print the vlaues of "j" and they are fine.
>
>
> What am i doing wrong in the above expression.
>
> Thanks
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]