David Johnson wrote:
I have an object in memory that I would like to iterate through on my JSP page as follows:
The object is in the Session , and it is a PortfolioBeanCollection which extends ArrayList. It contains a bunch of "PortfolioBean" objects, which has a portfolioName attribute.
My question is .. what is the simplest way to use the <c:forEach> tag to output the list of portfolioNames in the BortfolioBean objects within the PortfolioBeanCollection?
what vital piece of understanding am I missing?
<c:forEach items="${PortfolioBeanCollection" var="pb"> <c:out value="${pb.portfolioName}"/> </c:forEach>
(where PortfolioBeanCollection is replaced by the name you put the object into session with) doesn't work?
Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]