org.apache.taglibs.mailer
Class SendTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.apache.taglibs.mailer.SendTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class SendTag
extends javax.servlet.jsp.tagext.BodyTagSupport

SendTag - JSP tag Send is used to send the created email. send org.apache.taglibs.mailer.SendTag JSP Send the email

Version:
1.0
Author:
Rich Catlett
See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
SendTag()
           
 
Method Summary
 int doEndTag()
          implementation of the method from the tag interface that tells the JSP page what to do after the body of this tag
 int doStartTag()
          implementation of method from the Tag interface that tells the JSP what to do upon encountering the start tag for this tag set
 java.lang.String getContentType(MailTag parent)
          get the content type, possibly including character set
 java.util.ArrayList getError()
          get the error message from the final caught JspException
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, 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
 

Constructor Detail

SendTag

public SendTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
implementation of method from the Tag interface that tells the JSP what to do upon encountering the start tag for this tag set

Returns:
integer value telling the JSP engine to evaluate the rest of the jsp page
Throws:
javax.servlet.jsp.JspException - thrown when error occurs in processing the body of this method

doEndTag

public int doEndTag()
             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

Returns:
- int telling the tag handler whether or not to evaluate the rest of the JSP
Throws:
javax.servlet.jsp.JspException - thrown when an error occurs while processing the body of this method

getError

public java.util.ArrayList getError()
get the error message from the final caught JspException

Returns:
- Error message telling where problem occured

getContentType

public java.lang.String getContentType(MailTag parent)
get the content type, possibly including character set

Returns:
- complete encoded content type


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.