| com.jcorporate.expresso.core.servlet.DBServlet com.jcorporate.expresso.core.servlet.viewhandler.ViewHandler
All known Subclasses: com.jcorporate.expresso.core.servlet.viewhandler.XMLViewHandler, com.jcorporate.expresso.core.servlet.viewhandler.DefaultViewHandler, com.jcorporate.expresso.core.servlet.viewhandler.JSPViewHandler,
ViewHandler | public ViewHandler()(Code) | | |
doGet | public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code) | | Both GET and POST for the ViewHandler simply pass the information
from parameters and form fields on to the named controller object.
The Controller object passes back a series of Inputs, Outputs
and Actions that are a result of the requested Controller
Parameters: request - Standard request object Parameters: response - Standard response object throws: ServletException - If an uncaught exception occurs throws: IOException - If an I/O error occurs while communicating withthe client |
doPost | public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code) | | Handle POST method, typically from a form. The only difference between
get and post in this servlet is that when processing post, we look
for a parameter with a name of the form "button_xxx", where xxx is
the next state, as the state to controller into might vary depending on
what button the user presses.
Parameters: req - Standard request object Parameters: res - Standard response object throws: ServletException - If an uncaught exception occurs throws: IOException - If an I/O error occurs while communicating withthe client |
process | public void process(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code) | | This is a master method that is does the processing for both GET
and POST.
Creation date: (1/10/01 8:38:52 AM)
author Adam Rossi, PlatinumSolutions
Parameters: request - javax.servlet.http.HttpServletRequest Parameters: response - javax.servlet.http.HttpServletResponse |
Fields inherited from com.jcorporate.expresso.core.servlet.DBServlet | final protected static String thisClass(Code)(Java Doc)
|
Methods inherited from com.jcorporate.expresso.core.servlet.DBServlet | public void destroy()(Code)(Java Doc) public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)(Java Doc) public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException(Code)(Java Doc) protected String getDBName(HttpServletRequest request)(Code)(Java Doc) public void init(ServletConfig sc) throws ServletException(Code)(Java Doc) public boolean requireLogin(HttpServletRequest req, HttpServletResponse res, String nextURL) throws IOException, ServletException, DBException, LogException, HtmlException(Code)(Java Doc) protected void setDBName(String newDBName, HttpServletRequest req) throws ServletException(Code)(Java Doc) public void setSkipLogin(boolean newSkip)(Code)(Java Doc) public void setupChannels(HttpServletRequest req) throws ServletException(Code)(Java Doc)
|
|
|