Name

LoopTagSupport

Synopsis

Class name:

javax.servlet.jsp.jstl.core.LoopTagSupport

Extends:

javax.servlet.jsp.tagext.TagSupport

Implements:

javax.servlet.jsp.jstl.core.LoopTagjavax.servlet.jsp.tagext.IterationTag javax.servlet.jsp.tagext.TryCatchFinallyTag

Fields

protected int begin
protected boolean beginSpecified
protected int end
protected boolean endSpecified
protected int itemId
protected int statusId
protected int step
protected boolean stepSpecified

Methods

public void doAfterBody( ) throws javax.servlet.jsp.tagext.JspTagException

Prepares for the next iteration until hasNext( ) returns false.

public void doCatch(Throwable t) throws Throwable

Rethrows the exception.

public void doFinally( ) throws javax.servlet.jsp.tagext.JspTagException

Removes the nested variables.

public void doStartTag( ) throws javax.servlet.jsp.tagext.JspTagException

Prepares for the iteration.

protected abstract Object getCurrent( )

Returns the current iteration element.

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

Returns the iteration status.

protected abstract boolean hasNext( )

throws javax.servlet.jsp.tagext.JspTagException

Returns true if there are more iteration elements.

protected abstract Object next( )

throws javax.servlet.jsp.tagext.JspTagException

Returns the next iteration element.

protected abstract void prepare( )

throws javax.servlet.jsp.tagext.JspTagException

Prepares for the iteration.

public void setScope(String scope)

Sets the scope attribute value. ...

Get JavaServer Pages, Second 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.