Class java.servlet.http.FormServlet
All Packages Class Hierarchy This Package Previous Next Index
Class java.servlet.http.FormServlet
java.lang.Object
|
+----java.servlet.GenericServlet
|
+----java.servlet.http.HttpServlet
|
+----java.servlet.http.FormServlet
- public class FormServlet
- extends HttpServlet
This class implements a convenient servlet that can be extended by other
servlets which handle form input. By default, it simply echoes its form
input.
-
FormServlet()
-
-
getServletInfo()
- Returns a string containing information about the author, version,
and copyright of the servlet.
-
sendResponse(HttpServletResponse, Hashtable)
-
-
service(HttpServletRequest, HttpServletResponse)
- Services a single request from the client.
FormServlet
public FormServlet()
service
public void service(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Services a single request from the client.
- Parameters:
- req - the servlet request
- res - the servlet response
- Throws: ServletException
- if a servlet exception has occurred
- Throws: IOException
- if an I/O exception has occurred
- Overrides:
- service in class HttpServlet
sendResponse
public void sendResponse(HttpServletResponse res,
Hashtable hashTable) throws IOException
getServletInfo
public String getServletInfo()
- Returns a string containing information about the author, version,
and copyright of the servlet.
- Overrides:
- getServletInfo in class GenericServlet
All Packages Class Hierarchy This Package Previous Next Index