O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

javax.servlet.jsp.tagext

Interfaces

BodyTag

Extends: Tag

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

							EVAL_BODY_TAG

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.

							doAfterBody

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required