c:forEach

# <c:forEach />

The <c:forEach /> iterates over a collection, iterator or an array of objects. It uses the same syntax as the standard JSTL <c:forEach /> tag.

The <c:forEach /> attributes

Attribute Name | Description | Required
--- | --- | ---
begin | Defines the starting index | False
end | Defines the ending index | False
items | Defines the expression used to iterate over. This expression could resolve to an Iterator, Collection, Map, Array, Enumeration or comma separated String. | False
step | Defines the index increment step | False
var | Defines the variable name to export for the item being iterated over | True