Jsp-jstl-xml-foreach-tag
提供:Dev Guides
JSTL-XML <x:forEach>タグ
属性
Attribute | Description | Required | Default |
---|---|---|---|
select | The XPath expression to be evaluated | Yes | None |
var | Name of the variable to store the current item for each loop | No | None |
begin | The start index for the iteration | No | None |
end | The end index for the iteration | No | None |
step | The size of the index increment while iterating over the collection | No | None |
varStatus | The name of the variable in which the status of the iteration is stored | No | None |
例
次の例は、 <x:forEach> タグの使用を示しています-
次の結果が表示されます-
- 書名:パダムヒストリー
- 書名:グレートミストリー