Name

IterationTag

Synopsis

The IterationTag interface extends the Tag interface. It must be implemented by tag handler classes that need their corresponding action element body evaluated more than once but that don’t need to access the result of the body evaluation.

Synopsis

Interface name:

javax.servlet.jsp.tagext.IterationTag

Extends:

javax.servlet.jsp.tagext.Tag

Implemented by:

Custom action tag handler classes and javax.servlet.jsp.tagext.TagSupport.

Fields

public static final int EVAL_BODY_AGAIN

Methods

public int doAfterBody( ) throws JspException

Performs actions after the body has been evaluated. This method is invoked after every body evaluation. If this method returns EVAL_BODY_AGAIN, the body is evaluated again, typically after changing the value of variables used in the body. If it returns SKIP_BODY, the processing continues with a call to doEndTag( ).

This method isn’t invoked if the element body is empty or if doStartTag( ) returns SKIP_BODY.

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.