Package net.ontopia.utils.ontojsp
Class JSPPageExecuter
java.lang.Object
net.ontopia.utils.ontojsp.JSPPageExecuter
INTERNAL: A class that executes a jsp page from a given root node.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(jakarta.servlet.jsp.PageContext page, jakarta.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF root) Runs a JSP page (resp. function), represented by the specified root node.protected voidrunTag(jakarta.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF node) Executes the children of this node.
-
Field Details
-
pageContext
protected jakarta.servlet.jsp.PageContext pageContext
-
-
Constructor Details
-
JSPPageExecuter
public JSPPageExecuter()
-
-
Method Details
-
run
public void run(jakarta.servlet.jsp.PageContext page, jakarta.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF root) throws jakarta.servlet.jsp.JspException, IOException Runs 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:
jakarta.servlet.jsp.JspExceptionIOException
-
runTag
protected void runTag(jakarta.servlet.jsp.tagext.TagSupport parentTag, JSPTreeNodeIF node) throws jakarta.servlet.jsp.JspException, IOException Executes the children of this node.- Throws:
jakarta.servlet.jsp.JspExceptionIOException
-