org.apache.taglibs.mailer
Class ServerTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.apache.taglibs.mailer.ServerTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

ServerTag - JSP tag server is used for dynamically setting the mail server that is going to be used to send the mail the tag must be nested within a mail tag.

JSP Tag Lib Descriptor

 <name>server</name>
 <tagclass>org.apache.taglibs.mailer.ServerTag</tagclass>
 <bodycontent>JSP</bodycontent>
 <info>
     Sets the mail server used to send the mail
 </info>
 

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_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ServerTag()
           
 
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
 
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
 

Constructor Detail

ServerTag

public ServerTag()
Method Detail

doAfterBody

public final 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
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:
JSPException - thrown when an error occurs while processing the body of this method


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.