|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.chwf.taglib.base.LifeCycleTagSupport
|
+--org.chwf.taglib.jutil.PrintErrorTag
Tag handler for the <printError> tag. It checks for an
exception object in the request and prints its message.
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
PrintErrorTag()
|
|
| Method Summary | |
void |
cleanup()
Clean up data for tag handler reuse and pooling. |
int |
doStart()
Prints the error message. |
java.lang.String |
getParameter()
For parameter-associated errors. |
void |
setParameter(java.lang.String parameter)
For parameter-associated errors. |
| Methods inherited from class org.chwf.taglib.base.LifeCycleTagSupport |
addAttribute, addParameter, doEnd, doEndTag, doStartTag, getAttribute, getAttributeNames, getParameter, getParameterNames, init, printAttributes |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PrintErrorTag()
| Method Detail |
public void cleanup()
super.cleanup()cleanup in class LifeCycleTagSupportpublic void setParameter(java.lang.String parameter)
parameter - The parameter.public java.lang.String getParameter()
public int doStart()
throws java.io.IOException
doStart in class LifeCycleTagSupportjava.io.IOException - For IO exceptions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||