Hello Everyone,
I've got an easy one, that is stupifying me because of my tiredness.
I've got a POJO with a List in it. The List is a list of beans. In my
JSP page I'm trying to iterate over the list of beans. Here goes:
public class Information {
private String name = null;
private String addr = null;
private List School = null;
<snip/>
School is a bean that looks like:
public class School {
private String schoolname = null;
private String location = null;
}
Then I set that information in the session:
session.setAttribute("information", information);
Each information bean will have a list of schools in it and I'd like to
iterate over that list on the JSP page but I'm not sure how far I am
from the truth! :-P Right now I've got:
<bean:write name="information" property="name"/>
<bean:write name="information" property="addr"/>
<logic:iterate ??????????????
Thanks for your help everyone.
Brandon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]