infosapient.servlet
Class ExecutionServlet
infosapient.servlet.ExecutionServlet
- public class ExecutionServlet
ExecutionServlet
This servlet is reponsible for executing a KnowledgeBase toward a goal.
This allows a user to test a KB and determine if it meets their needs.
- Version:
- $Revision: 1.1.1.1 $
Method Summary |
(package private) void |
displayPrompts(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
displayPrompts sets the selected goal
and displays the required attributes, descriptions, prompts,
and a response field for each attribute. |
void |
doGet(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
directs the reponse to the proper method |
void |
doPost(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
directs the reponse to the proper method |
(package private) void |
execute(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
execute sets the domain values from the input form, and
requests the kb to solve to the goal. |
java.lang.String |
getServletInfo()
|
void |
init(infosapient.servlet.ServletConfig config)
|
void |
log(java.lang.String str)
Insert the method's description here. |
private void |
trace_call(java.lang.String s)
|
private void |
trace_return(java.lang.String s)
|
properties
private static java.util.Properties properties
trace_enabled
private boolean trace_enabled
trace_indent
private int trace_indent
ExecutionServlet
public ExecutionServlet()
displayPrompts
void displayPrompts(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
- displayPrompts sets the selected goal
and displays the required attributes, descriptions, prompts,
and a response field for each attribute.
doGet
public void doGet(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
throws infosapient.servlet.ServletException
- directs the reponse to the proper method
doPost
public void doPost(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
throws infosapient.servlet.ServletException
- directs the reponse to the proper method
execute
void execute(infosapient.servlet.HttpServletRequest request,
infosapient.servlet.HttpServletResponse response)
- execute sets the domain values from the input form, and
requests the kb to solve to the goal.
The kb is passed an output stream to write its response.
getServletInfo
public java.lang.String getServletInfo()
init
public void init(infosapient.servlet.ServletConfig config)
throws infosapient.servlet.ServletException
log
public void log(java.lang.String str)
- Insert the method's description here.
Creation date: (12/13/1999 8:50:25 PM)
- Parameters:
str
- java.lang.String
trace_call
private final void trace_call(java.lang.String s)
trace_return
private final void trace_return(java.lang.String s)
Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved