Extends: Tag

The BodyTag interface must be implemented by custom tag handlers that want to process body text.


public static final int EVAL_BODY_TAG

Constant returned from doStartTag and doAfterBody to tell the JSP engine that this class wants to interpret the body text.


public int doAfterBody() throws JspException

Called by the JSP engine after the tag's body text has been parsed and evaluated. If this method returns EVAL_BODY_TAG, the JSP engine re-evaluates the body text (but does not reparse) and calls doAfterBody again. When this method returns SKIP_BODY, the JSP engine goes on to process the data after the end tag.

							doInitBody public void doInitBody() throws JspException ...

Get Special Edition Using Java™ 2 Enterprise 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.