I've a servlet that gets a collection of beans, and put this collection in
the next JSP page with

req.setAttribute("memberBeans", members.getMemberBeans(action));
(memberBeans is a collection of 20 memberBean)

Then, in the forwarded page, I try to iterate on the collection with

<logic:iterate collection="<%= request.getAttribute("memberBeans")%>"
id="memberBean">
<tr>
<td class="odd"><bean:write name="memberBean" property="LastName"/></td>
</tr>
</logic:iterate>

But nothing appears.
To be sure my collection is not empty, I've tried this instruction in my JSP
page :

<%= request.getAttribute("memberBeans")%>

and I've saw the 20 memberBean, via the method "toString" defined in the
MemberBean class

I suppose it's really simple, and I'm searching for some days.
Thank you for your help.

Pierre

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

Reply via email to