net.trajano.twiff.internal.servlet
Class ActionServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.trajano.twiff.internal.servlet.ActionServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class ActionServlet
extends HttpServlet

This implements a form handler that does not do the post-redirect-get pattern. This should not be used normally unless it is not possible to have a datastore on the web tier.

Author:
Archimedes Trajano
See Also:
Serialized Form

Constructor Summary
ActionServlet(Configuration configuration, ActionPageLookup pageLookup, ActionResultProcessor[] actionResultProcessors, WebXmlAdapter webXmlAdapter)
           
 
Method Summary
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
          Handles POST requests.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionServlet

public ActionServlet(Configuration configuration,
                     ActionPageLookup pageLookup,
                     ActionResultProcessor[] actionResultProcessors,
                     WebXmlAdapter webXmlAdapter)
Parameters:
configuration -
pageLookup -
actionResultProcessors -
webXmlAdapter -
Method Detail

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Handles POST requests.

Overrides:
doPost in class HttpServlet
Throws:
ServletException
IOException
See Also:
HttpServlet.doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


Copyright © 2004-2005 trajano.net. All Rights Reserved.