winstone
Class ErrorServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by winstone.ErrorServlet
All Implemented Interfaces:
java.io.Serializable, Servlet, ServletConfig

public class ErrorServlet
extends HttpServlet

A simple servlet that writes out the body of the error

Version:
$Id: ErrorServlet.java,v 1.3 2006/02/28 07:32:47 rickknowles Exp $
Author:
Rick Knowles
See Also:
Serialized Form

Constructor Summary
ErrorServlet()
           
 
Method Summary
 void service(ServletRequest request, ServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorServlet

public ErrorServlet()
Method Detail

service

public void service(ServletRequest request,
                    ServletResponse response)
             throws ServletException,
                    java.io.IOException
Specified by:
service in interface Servlet
Overrides:
service in class HttpServlet
Throws:
ServletException
java.io.IOException


Copyright © 2013. All Rights Reserved.