Hi

We have been trying unsuccessfully to iterate over an ArrayList object using the JSTL 
tag forEach.

We think it could be a bug, but then we may be  using it wrong :-). Although we have 
successfully managed to use forEach for iterating over Collections (which are in a 
bean).

this is out code snippet

               <%
                  ArrayList classifiers = Classifier.DA.getAll();
                %>
                    <c:forEach var="classifier" items="$classifiers" 
varStatus="status" >
                        <option>
                          <c:out value="${classifier.name()}"/>
                        </option>
                    </c:forEach>

Any help/advice on this is much appreciated!!!

Thanks

Liam.
com21.com 
Temp. contractor.

Reply via email to