org.apache.taglibs.mailer
Class MessageTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.mailer.MessageTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public class MessageTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
MessageTag - JSP tag Message is used to set the message in an e-mail.
message
org.apache.taglibs.mailer.MessageTag
JSP
Set the Message of the email
type
false
false
charset
false
false
- Version:
- 1.0
- Author:
- Rich Catlett
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 |
doAfterBody()
implementation of the method from the tag interface that tells the JSP
page what to do after the body of this tag |
void |
setCharset(java.lang.String value)
set the character set for this email |
void |
setType(java.lang.String value)
set the mime type for this email text or html |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
MessageTag
public MessageTag()
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- implementation of the method from the tag interface that tells the JSP
page what to do after the body of this tag
- Specified by:
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
- Returns:
- SKIP_BODY int telling the tag handler to not evaluate the body
of this tag again
- Throws:
javax.servlet.jsp.JspException
- thrown when an error occurs while processing the
body of this method
setType
public void setType(java.lang.String value)
- set the mime type for this email text or html
- Parameters:
value
- string that is the mime type for this email
setCharset
public void setCharset(java.lang.String value)
- set the character set for this email
- Parameters:
value
- string that is the character set for this email
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.