coreservlets.tags
Class ExampleTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--coreservlets.tags.ExampleTag
- public class ExampleTag
- extends TagSupport
Very simple JSP tag that just inserts a string
("Custom tag example...") into the output.
The actual name of the tag is not defined here;
that is given by the Tag Library Descriptor (TLD)
file that is referenced by the taglib directive
in the JSP file.
Taken from Core Servlets and JavaServer Pages
from Prentice Hall and Sun Microsystems Press,
http://www.coreservlets.com/.
© 2000 Marty Hall; may be freely used or adapted.
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag,
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 |
ExampleTag
public ExampleTag()
doStartTag
public int doStartTag()
- Overrides:
- doStartTag in class TagSupport
 |
|---|
| CSAJSP @ amazon.com |
|---|