public class XFormServlet extends HttpServlet
Constructor and Description |
---|
XFormServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
A get request starts a new form.
|
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
A post request deals with form interactions.
|
void |
init()
Initializes the servlet.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void init() throws ServletException
init
in class GenericServlet
ServletException
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class HttpServlet
request
- The servlet requestresponse
- The servlet responseServletException
- Error in request handlingIOException
- Error doing other IOpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
in class HttpServlet
request
- The servlet requestresponse
- The servlet responseServletException
- Error in request handlingIOException
- Error doing other IO