I found the error, I was using Xdoclet and I didn't specify in
@struts.action scope="session"

Thanks

tito

El jue, 12 de 08 de 2004 a las 11:44, Tito Eritja escribiÃ:
> I'm new on Struts, and I'm trying to use the example from book
> JakartaStrutsLife, but I get an
> java.lang.ArrayIndexOutOfBoundsException: in <html:text
> property="user[${index..... from:
> 
> 
> <logic:iterate id="lineItem" 
>               indexId="index" 
>               name="adminUsersForm" 
>               property="usersList"> 
>   <tr> 
>    <td> 
>       <html:text property="user[${index}].user.firstName" /> 
>    </td> 
>    <td> 
>       <html:text property="user[${index}].user.lastName" /> 
>   </td> 
>   <td> 
>       <html:text disabled="true" property="user[${index}].user.email" /> 
>   </td> 
>   <td> 
>       <html:checkbox property="user[${index}].checked" /> 
>   </td> 
>  </tr> 
> 
> </logic:iterate>
> 
> The problem occurs in getUser(index) function, as users has no
> lineItems, but it is weird as getUsersList from the same code (iterate)
> returns that users has some LineItems
> 
> I get the same error with Struts html and with html-el tag libraries.
> 
> Does anybody has experienced the same problem??
> 
> Thanks for your time
> 
> 
> tito
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to