Overview | Library | Tag | Help
| FRAMES NO FRAMES

## JSTL core
Tag forEach

The basic iteration tag, accepting many different collection types and supporting subsetting and other functionality

Tag Information
Tag Class | org.apache.taglibs.standard.tag.rt.core.ForEachTag
TagExtraInfo Class | org.apache.taglibs.standard.tei.ForEachTEI
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
items | false | true | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Collection of items to iterate over.
begin | false | true | `int` | If items specified: Iteration begins at the item located at the specified index. First item of the collection has index 0. If items not specified: Iteration begins with index set at the value specified.
end | false | true | `int` | If items specified: Iteration ends at the item located at the specified index (inclusive). If items not specified: Iteration ends when index reaches the value specified.
step | false | true | `int` | Iteration will only process every step items of the collection, starting with the first one.
var | false | false | `java.lang.String` | Name of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the object of the underlying collection.
varStatus | false | false | `java.lang.String` | Name of the exported scoped variable for the status of the iteration. Object exported is of type javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator.