Name

LoopTag

Synopsis

The LoopTag interface is implemented by tag handlers for iteration actions, such as the <c:forEach> action. Its methods provide access to the current iteration element and the iteration status.

Synopsis

Interface name:

javax.servlet.jsp.jstl.core.LoopTag

Extends:

javax.servlet.jsp.tagext.Tag

Implemented by:

JSTL and custom action tag handler classes

Methods

public Object getCurrent( )

Returns the current iteration element.

public javax.servlet.jsp.jstl.core.LoopTagStatus getLoopStatus( )

Returns the iteration status.

Get JavaServer Pages, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.