> -----Original Message-----
> From: Antony Paul [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 19, 2004 3:37 AM
> To: [EMAIL PROTECTED]
> Subject: accessing collections without iterating.
>
>
> Hi all,
> My situation is List inside List and I am using Struts
> 1.0. There is no
> beans. I need access to List by index(using Struts).
> For ex.
>
> <logic:iterate id="list2" name="list1" scope="session">
> <tr>
> <td><bean:write name="list2" property="list2[0]">
> <td><bean:write name="list2" property="list2[1]">
> </logic:iterate>
Would this work:
<logic:iterate id="item1" name="list1" scope="session">
<logic:iterate id="item2" name="item1" property="list2">
<bean:write name="item2" property="stuff"/>
</logic:iterate>
</logic:iterate>
>
> Is this possible. There are no JSTL.
> Or any other way do this without writing a new class.
>
> rgds
> Anto Paul
>
>
> ---------------------------------------------------------------------
> 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]