Interface IterationTag

    • Field Detail


        static final int EVAL_BODY_AGAIN
        Request the reevaluation of some body. Returned from doAfterBody. For compatibility with JSP 1.1, the value is carefully selected to be the same as the, now deprecated, BodyTag.EVAL_BODY_TAG,
        See Also:
        Constant Field Values
    • Method Detail

      • doAfterBody

        int doAfterBody()
                 throws JspException
        Process body (re)evaluation. This method is invoked by the JSP Page implementation object after every evaluation of the body into the BodyEvaluation object. The method is not invoked if there is no body evaluation.

        If doAfterBody returns EVAL_BODY_AGAIN, a new evaluation of the body will happen (followed by another invocation of doAfterBody). If doAfterBody returns SKIP_BODY, no more body evaluations will occur, and the doEndTag method will be invoked.

        If this tag handler implements BodyTag and doAfterBody returns SKIP_BODY, the value of out will be restored using the popBody method in pageContext prior to invoking doEndTag.

        The method re-invocations may be lead to different actions because there might have been some changes to shared state, or because of external computation.

        The JSP container will resynchronize the values of any AT_BEGIN and NESTED variables (defined by the associated TagExtraInfo or TLD) after the invocation of doAfterBody().

        whether additional evaluations of the body are desired
        JspException - if an error occurred while processing this tag