uk.co.weft.maybeupload
Class DumpServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byuk.co.weft.maybeupload.DumpServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DumpServlet
extends javax.servlet.http.HttpServlet

Crude basic debugging tool. Dumps the request stream to the response so that you have a chance to see what's going on.

Version:
$Revision: 1.1 $ This revision: $Author: simon $
  $Log: DumpServlet.java,v $
  Revision 1.1  2001/01/09 12:14:12  simon
  Now tested with:
  	Netscape Communicator 4.76/Linux 2.2
  	Konqueror 1.9.8/Linux 2.2
  	Microsoft Internet Explorer 5.00.2014.0216IC
  File upload (including binary file upload) works. Remaining known bug:
  all fields must have data...

  Revision 1.1.1.1  2001/01/05 14:58:09  simon
  First cut - not yet tested

  
Author:
Simon Brooke (simon@jasmine.org.uk)
See Also:
Serialized Form

Constructor Summary
DumpServlet()
           
 
Method Summary
protected  void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Dump the request input stream onto the response output, byte for byte, for analysis/debugging purposes.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, 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

DumpServlet

public DumpServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest req,
                       javax.servlet.http.HttpServletResponse resp)
                throws javax.servlet.ServletException,
                       java.io.IOException
Dump the request input stream onto the response output, byte for byte, for analysis/debugging purposes.

Throws:
javax.servlet.ServletException
java.io.IOException