Package net.ontopia.utils.ontojsp
Class JSPPageExecuter
- java.lang.Object
-
- net.ontopia.utils.ontojsp.JSPPageExecuter
-
public class JSPPageExecuter extends Object
INTERNAL: A class that executes a jsp page from a given root node.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.servlet.jsp.PageContextpageContext
-
Constructor Summary
Constructors Constructor Description JSPPageExecuter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(javax.servlet.jsp.PageContext page, javax.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF root)Runs a JSP page (resp.protected voidrunTag(javax.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF node)Executes the children of this node.
-
-
-
Method Detail
-
run
public void run(javax.servlet.jsp.PageContext page, javax.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF root) throws javax.servlet.jsp.JspException, IOExceptionRuns a JSP page (resp. function), represented by the specified root node. It must get the corresponding page context object. TheparentTagis 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.JspExceptionIOException
-
runTag
protected void runTag(javax.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF node) throws javax.servlet.jsp.JspException, IOExceptionExecutes the children of this node.- Throws:
javax.servlet.jsp.JspExceptionIOException
-
-