com.darwinsys.jsptags
Class CommandOutputTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.darwinsys.jsptags.CommandOutputTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public class CommandOutputTag
- extends javax.servlet.jsp.tagext.TagSupport
CommandOutputTag - runs an external shell(system) command, and displays the output.
The command may include pipes, redirections, etc., at least on "normal" systems.
- See Also:
- Serialized Form
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 |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandOutputTag
public CommandOutputTag()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Invoked at the end tag boundary, does the work
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
setError
public void setError(boolean error)
setOutput
public void setOutput(boolean output)
setCommand
public void setCommand(java.lang.String command)
Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.