How can I iterate over a vector in a JSP page?
I have done this:
<%
Vector value = (Vector) request.getAttribute("status");
for (Enumeration e = value.elements(); e.hasMoreElements(); )
{
StatusItem myStatus = (StatusItem) e.nextElement();
}
%>
Is there a way to do this using jsp tags? thank
source
share