how to process list within list in jsp

Hi,

I have to read values from list within the list in jsp. I got list of objects and I am reading the variables from it in jsp. for that I iterate through the list, read the variable from the object.

I use

<logic:iterate name="searchFormBean" property="policies" id="policiesList" indexId="index">

and reading the variable like below.

<html:hidden name="searchFormBean" property='<%= "partyId[" + index + "]" %>' />

and I have method getPartyId(int index, String text) in searchFormBean class.

now I have a problem that object has list variable which has to be read.

I am not sure of how to pass both the index (index of object list and index of list within the object).

I have method getIds(int index, int listIndex, String text)

Please let me know how should I write code in jsp to call the above method.

Thanks & Regards,

Nasrin.N

[941 byte] By [nasrin.na] at [2007-11-26 18:31:24]
# 1
<% getPartyId(int index, String text);%>Nasree ..its quite confusin ur question...forget abt implementation..just tell us in detail what ur rqmt is..regardsshanu
mshanua at 2007-7-9 6:05:32 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...