org.apache.taglibs.mailer2
Class LoadTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.apache.taglibs.mailer2.PartTag
              extended byorg.apache.taglibs.mailer2.MailTag
                  extended byorg.apache.taglibs.mailer2.LoadTag
All Implemented Interfaces:
BodyTag, IterationTag, JspTag, Serializable, Tag

public class LoadTag
extends MailTag

JSP tag mt:load is used to load a var from file and store it in a variable.

Version:
2.0
Author:
Jeroen van Vianen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.taglibs.mailer2.MailTag
FROM, PASSWORD, PORT, SERVER, username, USERNAME, VERSION
 
Fields inherited from class org.apache.taglibs.mailer2.PartTag
log
 
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
LoadTag()
          Default zero-arg constructor.
 
Method Summary
 int doEndTag()
           
 String getFile()
          Returns the file attribute.
 void release()
           
 void setFile(String file)
          Sets the file attribute.
 
Methods inherited from class org.apache.taglibs.mailer2.MailTag
addRecipient, addReplyTo, doAfterBody, doStartTag, getBcc, getCc, getFrom, getImportance, getMimemessage, getPassword, getPort, getReplyto, getScope, getScopeType, getServer, getSession, getSessionObject, getSubject, getTo, getUsername, getVar, isBackground, setBackground, setBcc, setCc, setFrom, setImportance, setMimemessage, setPassword, setPort, setReplyto, setScope, setServer, setSession, setSubject, setTo, setUsername, setVar
 
Methods inherited from class org.apache.taglibs.mailer2.PartTag
addPart, constructMessage, getBody, getContentType, getEncoding, getHeaders, getParts, getType, setBody, setEncoding, setHeader, setType
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, resetCustomAttributes, 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

LoadTag

public LoadTag()
Default zero-arg constructor.

Method Detail

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class MailTag
Throws:
JspException

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class MailTag

getFile

public String getFile()
Returns the file attribute.

Returns:
The file attribute

setFile

public void setFile(String file)
Sets the file attribute.

Parameters:
file - The name of the message to load


Copyright © 2004 Apache Software Foundation, http://jakarta.apache.org/taglibs