org.westofj.wui
Class WController
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.westofj.wui.WController
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- public final class WController
- extends HttpServlet
The servlet which links the WApplication
and WRunner
instances to the underlying web application framework. The controlling
servlet is not intended to be extended by the client, rather the
WApplication
and WRunner
may be extended to
implement web user interfaces.
Typically WApplication
is extended to capture global state of the
application across multiple users, while WRunner
is extended
to provided functionality and server side state to a single user.
- Version:
- $Revision: 1.7 $, $Date: 2004/03/08 01:57:35 $
- Author:
- bill
- See Also:
- Serialized Form
Constructor Summary |
WController()
Constructs a controlling servlet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WController
public WController()
- Constructs a controlling servlet.
init
public final void init(ServletConfig config)
throws ServletException
- Throws:
ServletException
destroy
public final void destroy()
doGet
public final void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
doPost
public final void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException