• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

Nested Collections in JSP output

Hello,
This should be trivial but...
I have a collection callled history_list,
which contains a nested collection called 'hist_Part_List'.

Within a struts output  below, how do I access 'hist_Part_List' for each iteration of history_list ?
I assume I need to nest a secont iterator, but not sure on the syntax for accessing the 'hist_Part_List or its contents.

Thanks and Regards.

<logic:iterate name="fecHistoryOutputForm" property="history_list"  id="dataRowID">      
<tr height="5">                              
<td><bean:write name="dataRowID" property="scope" /></td      
<td><bean:write name="dataRowID" property="firm_trade_id" /></td>
<td><bean:write name="dataRowID" property="create_date" /></td>
</tr>
</logic:iterate>

0
Waponi
Asked:
Waponi
1 Solution

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now