Java Reference
In-Depth Information
It throws this exception:
JspError
The doEndTag() Method
public int doEndTag() throws JspException
This method processes the end tag. This method will be called on all Tag objects. It returns an
indication of whether the rest of the page should be evaluated or skipped. doEndTag() has no
parameters.
It returns this value:
int
It throws this exception:
JspException
The doStartTag() Method
public int doStartTag() throws JspException
This method processes the start tag for this instance. The doStartTag() method assumes that
initialize() has been invoked prior to its own execution. When this method is invoked, the
body has not yet been invoked. doStartTag() has no parameters.
It returns this value:
int
It throws this exception:
E
JspException
The findAncestorWithClass() Method
public static final Tag findAncestorWithClass(Tag from,
java.lang.Class class)
This method finds the instance of a given class type that is closest to a given instance. This
method is used for coordination among cooperating tags. findAncestorWithClass() throws
no exceptions.
It takes two parameters:
Tag
java.lang.Class
It returns this value:
Tag
 
Search WWH ::




Custom Search