org.jscience.sociology.forms.control
Class FormControllerServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.jscience.sociology.forms.control.FormControllerServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FormControllerServlet
extends javax.servlet.http.HttpServlet

This is the servlet where all form presentation's actions will be addressed to. All form action URL-s are mapped to this servlet and the mapping is done in web.xml.

See Also:
Serialized Form

Constructor Summary
FormControllerServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          DOCUMENT ME!
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          DOCUMENT ME!
 void init(javax.servlet.ServletConfig config)
          DOCUMENT ME!
 
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

FormControllerServlet

public FormControllerServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
DOCUMENT ME!

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config - DOCUMENT ME!
Throws:
javax.servlet.ServletException - DOCUMENT ME!

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse resp)
           throws java.io.IOException,
                  javax.servlet.ServletException
DOCUMENT ME!

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - DOCUMENT ME!
resp - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
javax.servlet.ServletException - DOCUMENT ME!

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse resp)
            throws java.io.IOException,
                   javax.servlet.ServletException
DOCUMENT ME!

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
req - DOCUMENT ME!
resp - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
javax.servlet.ServletException - DOCUMENT ME!