    All Examples  This Package

# Class examples.servlets.ErrorServlet

    java.lang.Object
       |
       +----javax.servlet.GenericServlet
               |
               +----javax.servlet.http.HttpServlet
                       |
                       +----examples.servlets.ErrorServlet

public class ErrorServlet
extends HttpServlet

This simple servlet sends back a particular error response.

Author:
  Copyright (c) 1997-1998 by WebLogic, Inc. All Rights Reserved.
  Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.

##

ErrorServlet()

##

service(HttpServletRequest, HttpServletResponse)
  Implements the servlet service method.

##

ErrorServlet

     public ErrorServlet()

##

service

     public void service(HttpServletRequest req,
                         HttpServletResponse res) throws ServletException, IOException

  Implements the servlet service method.

  Overrides:
    service in class HttpServlet

    All Examples  This Package