Tag Interface  
public interface Tag  
 

The Tag interface provides methods that connect a tag handler with a JavaServer Page implementation class including life cycle methods and methods that are invoked at the start and end tag.

SKIP_BODY  
public static final int SKIP_BODY Constant
 

SKIP_BODY indicates that body evaluation should be skipped.

EVAL_BODY_INCLUDE  
public static final int EVAL_BODY_INCLUDE Constant
 

EVAL_BODY_INCLUDE indicates that the tag body should be evaluated into the existing output stream.

SKIP_PAGE  
public static final int SKIP_PAGE Constant
 

SKIP_PAGE indicates that the rest of the page should be skipped.

EVAL_PAGE  
public static final int EVAL_PAGE Constant
 

EVAL_PAGE indicates that page evaluation should continue.

doEndTag()  
public int doEndTag() throws JspException Method
 

doEndTag() processes the end tag associated with a JSP.

doStartTag()  
public int doStartTag() throws JspException Method
 

doStartTag() processes the start tag associated with a JSP.

getParent()  
public Tag getParent() Method
 

getParent() returns the parent of the invoking Tag object.

release()  
public void release() Method
 

release() is called on a Tag handler to release its state.

setPageContext()  
public void setPageContext(PageContext pc) Method
 

setPageContext() specifies the current PageContext object. This method is called by the JSP prior to calling the doStartTag() method.

setParent()  
public void setParent(Tag tag) Method
 

setParent() specifies the parent, or nesting, Tag of the invoking Tag object.