butler.web.form
Class FormServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by butler.web.form.FormServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FormServlet
extends javax.servlet.http.HttpServlet

Author:
Fredrik Bertilsson
See Also:
Serialized Form

Constructor Summary
FormServlet()
           
 
Method Summary
protected  java.lang.String getDefaultFormId(javax.servlet.http.HttpServletRequest reequest)
           
static java.lang.String getRootRelativePath()
           
 void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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

FormServlet

public FormServlet()
Method Detail

service

public void service(javax.servlet.ServletRequest req,
                    javax.servlet.ServletResponse res)
             throws javax.servlet.ServletException,
                    java.io.IOException
Specified by:
service in interface javax.servlet.Servlet
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

getDefaultFormId

protected java.lang.String getDefaultFormId(javax.servlet.http.HttpServletRequest reequest)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getRootRelativePath

public static java.lang.String getRootRelativePath()