JSTL XML
Tag forEach


XML iteration tag.


Tag Information
Tag Classorg.apache.taglibs.standard.tag.common.xml.ForEachTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
varfalsefalsejava.lang.StringName of the exported scoped variable for the current item of the iteration. This scoped variable has nested visibility. Its type depends on the result of the XPath expression in the select attribute.
selecttruefalsejava.lang.StringXPath expression to be evaluated.
beginfalsetrueintIteration begins at the item located at the specified index. First item of the collection has index 0.
endfalsetrueintIteration ends at the item located at the specified index (inclusive).
stepfalsetrueintIteration will only process every step items of the collection, starting with the first one.
varStatusfalsefalsejava.lang.StringName 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.


Comments to: jstl-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.