Abdullah Jibaly wrote:
> Using Servlet/JSP 2.4/2.0 and JSTL something like this should work:
> <jsp:useBean id="myUtilBean" class="MyUtilBean"/>
> <html:select property="...">
>    <c:forEach items="${myUtilBean.c}" var="row">
>       <html:option value="${row.name}">${row.value}</html:option>
>    </c:forEach>
> </html:select>

But... he asked about <html:options> (plural, not <html:option>.)  The whole
point is that if you have a Collection, you don't have to do the iteration,
the tag will do it for you.  Dave and Brad are on the right track.

-- 
Wendy Smoak



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

Reply via email to