All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Serve.SampleServlet
java.lang.Object
|
+----Acme.Serve.servlet.GenericServlet
|
+----Acme.Serve.servlet.http.HttpServlet
|
+----Acme.Serve.SampleServlet
- public class SampleServlet
- extends HttpServlet
Trivial servlet.
Fetch the software.
Fetch the entire Acme package.
-
SampleServlet()
-
-
getServletInfo()
- Returns a string containing information about the author, version, and
copyright of the servlet.
-
service(HttpServletRequest, HttpServletResponse)
- Services a single request from the client.
SampleServlet
public SampleServlet()
getServletInfo
public String getServletInfo()
- Returns a string containing information about the author, version, and
copyright of the servlet.
- Overrides:
- getServletInfo in class GenericServlet
service
public void service(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Services a single request from the client.
- Parameters:
- req - the servlet request
- req - the servlet response
- Throws: ServletException
- when an exception has occurred
- Overrides:
- service in class HttpServlet
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs