|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.taglibs.mailer2.SaveTag
JSP tag mt:save is used to save a previously stored message to a file.
| Field Summary | |
Logger |
log
Used for logging. |
| 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 |
| Constructor Summary | |
SaveTag()
Default zero-arg constructor. |
|
| Method Summary | |
int |
doEndTag()
|
String |
getFile()
Returns the file attribute. |
MimeMessage |
getMessage()
Returns the javax.mail.MimeMessage object. |
void |
release()
|
void |
setFile(String file)
Sets the location to store the message. |
void |
setMessage(MimeMessage message)
Sets the message attribute. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, 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 |
| Field Detail |
public Logger log
| Constructor Detail |
public SaveTag()
| Method Detail |
public int doEndTag()
throws JspException
JspExceptionpublic void release()
public void setMessage(MimeMessage message)
message - The Message to sendpublic MimeMessage getMessage()
public String getFile()
public void setFile(String file)
file - The location to store the message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||