com.darwinsys.jsptags
Class TextImageTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.darwinsys.jsptags.TextImageTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public class TextImageTag
- extends javax.servlet.jsp.tagext.TagSupport
TextImageServlet - draw text as a graphic, so spam twerps can't robotically
harvest it, and can also be used in web forms to prevent robots from submitting
the form.
Must be used as a JSP Tag: if you made this a servlet, the parameters
to it would be visible in the HTML (think about it...).
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doStartTag()
Invoked at the end tag boundary, does the work |
java.lang.String |
getText()
|
void |
setText(java.lang.String text)
|
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, 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 |
TextImageTag
public TextImageTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Invoked at the end tag boundary, does the work
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.