net.trajano.twiff.internal.servlet
Class ActionServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
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
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 |
ActionServlet
public ActionServlet(Configuration configuration,
ActionPageLookup pageLookup,
ActionResultProcessor[] actionResultProcessors,
WebXmlAdapter webXmlAdapter)
- Parameters:
configuration
- pageLookup
- actionResultProcessors
- webXmlAdapter
-
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.