com.ora.jsp.tags
Class FileWriteTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
com.ora.jsp.tags.FileWriteTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
- public class FileWriteTag
- extends javax.servlet.jsp.tagext.SimpleTagSupport
This class is a custom action for writing the content of the
action element's body to a file specified by an attribute,
or to System.out if no file is specified. If the file name
"log" is specified, the standard application log file is
used.
- Version:
- 2.0
- Author:
- Hans Bergsten, Gefion software
Field Summary |
private java.lang.String |
fileName
|
Fields inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileName
private java.lang.String fileName
FileWriteTag
public FileWriteTag()
setFileName
public void setFileName(java.lang.String fileName)
doTag
public void doTag()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException