net.ontopia.utils.ontojsp
Class JSPPageExecuter
java.lang.Object
net.ontopia.utils.ontojsp.JSPPageExecuter
public class JSPPageExecuter
- extends java.lang.Object
INTERNAL: A class that executes a jsp page from a given root node.
Field Summary |
protected javax.servlet.jsp.PageContext |
pageContext
|
Method Summary |
void |
run(javax.servlet.jsp.PageContext page,
javax.servlet.jsp.tagext.TagSupport parentTag,
JSPTreeNodeIF root)
Runs a JSP page (resp. |
protected void |
runTag(javax.servlet.jsp.tagext.TagSupport parentTag,
JSPTreeNodeIF node)
Executes the children of this node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageContext
protected javax.servlet.jsp.PageContext pageContext
JSPPageExecuter
public JSPPageExecuter()
- Default constructor.
run
public void run(javax.servlet.jsp.PageContext page,
javax.servlet.jsp.tagext.TagSupport parentTag,
JSPTreeNodeIF root)
throws javax.servlet.jsp.JspException,
java.io.IOException
- Runs a JSP page (resp. function), represented by the specified
root node. It must get the corresponding page context object. The
parentTag
is supposed to be null in a standalone
page (like a testcase) or given by the tag which calls this
function (inside the parent JSP).
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
runTag
protected void runTag(javax.servlet.jsp.tagext.TagSupport parentTag,
JSPTreeNodeIF node)
throws javax.servlet.jsp.JspException,
java.io.IOException
- Executes the children of this node.
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
Copyright © 2000-2012 Ontopia.