Johnson, Kaerstin wrote:

I have some code that access a collection from the bean using
request.getAttribute(myAttributeName);
I'd like to access it using the form directly or jstl and then iterate
over it.
Whats the bets way to do this?
<c:forEach items="${myAttributeName}" var="item">
 <c:out value="${item.itemProperty}"/>
 <!-- ... -->
</c:forEach>

Don't forget the JSP taglib directive and make sure you have the JSTL libs.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to