You can use JSTL's forEach tag. But don't use var="item". Use the varStatus attribute instead, to access the list directly via the current loop index. I let you figure out how to write it.
Christophe Verré wrote:You can use JSTL's forEach tag. But don't use var="item". Use the varStatus attribute instead, to access the list directly via the current loop index. I let you figure out how to write it.