Nested loop
Hi All,
I know its not a struts forum.But still i would like to get the help
from all Struts experts here.
I have a VO which is having a string and an array of string.
I want to print in the browser thru the JSP all the contents of it.
For each of the string i want to print the contents of the array.
I have tried using nesting the logic:iterate tags.
But somehow i was unable to get the desired results due
to my lack of knowledge for the strtuts tags.
Please help me.
i am able to come upto this
logic:iterate id="lead" name="leadlist" >
<tr>
<td align="left" valign="top">
<b><bean:write name="lead" property="project_lead" /></b>
</td>
<td align="left">
<logic:iterate id="empname" name="lead" property="employeeName"
indexId="idx" length="1" type="java.lang.String">
<bean:write name="lead" property="employeeName(idx)"/>
</logic:iterate>
</td>
</tr>
</logic:iterate>
where employeeName is the String of arrays.
when i am running thru the Browser i am getting the name of the leads
but in place of the employee name i am getting blank.
Please help