org.dbforms.servlets
Class Controller

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.dbforms.servlets.base.AbstractServletBase
              extended by org.dbforms.servlets.Controller
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class Controller
extends AbstractServletBase

This servlets is the Controller component in the Model-View-Controller - architecture used by the dbforms-framework. Every request goes through this component and its event dispatching facilities.

Author:
Joe Peer
See Also:
Serialized Form

Constructor Summary
Controller()
           
 
Method Summary
 void init()
          Initialize this servlet.
protected  void process(HttpServletRequest request, HttpServletResponse response)
          Process the incoming requests.
 
Methods inherited from class org.dbforms.servlets.base.AbstractServletBase
doGet, doPost, sendErrorMessage
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller

public Controller()
Method Detail

init

public void init()
          throws ServletException
Initialize this servlet.

Overrides:
init in class AbstractServletBase
Throws:
ServletException - if the initialization fails

process

protected void process(HttpServletRequest request,
                       HttpServletResponse response)
                throws IOException,
                       ServletException
Process the incoming requests.

Specified by:
process in class AbstractServletBase
Parameters:
request - the request object
response - the response object
Throws:
IOException
ServletException


Copyright © 2002-2006 DbForms. All Rights Reserved.