com.ora.jsp.tags
Class FileWriteTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.SimpleTagSupport
      extended bycom.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
 
Constructor Summary
FileWriteTag()
           
 
Method Summary
 void doTag()
           
 void setFileName(java.lang.String fileName)
           
 
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
 

Field Detail

fileName

private java.lang.String fileName
Constructor Detail

FileWriteTag

public FileWriteTag()
Method Detail

setFileName

public void setFileName(java.lang.String fileName)

doTag

public void doTag()
           throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException