I have
class A {
private String field1;
private String field2;
private B b;
}
class B {
private String field3;
}
List<A> myList;
How can I access the field3 using the myList?
This would work for field1 and field2, but how about field3?
<s:iterator value="myList">
<tr>
<td><s:property value="field1"/></td>
<td><s:property value="field2"/></td>
</tr>
</s:iterator>