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.


Constructor Index

 o SampleServlet()

Method Index

 o getServletInfo()
Returns a string containing information about the author, version, and copyright of the servlet.
 o service(HttpServletRequest, HttpServletResponse)
Services a single request from the client.

Constructors

 o SampleServlet
 public SampleServlet()

Methods

 o getServletInfo
 public String getServletInfo()
Returns a string containing information about the author, version, and copyright of the servlet.

Overrides:
getServletInfo in class GenericServlet
 o 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