dea.webUtils
Class ViewImageServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bydea.webUtils.ViewImageServlet
All Implemented Interfaces:
IDebugLevels, java.io.Serializable, Servlet, ServletConfig

public class ViewImageServlet
extends HttpServlet
implements IDebugLevels

Title: View Image Servlet.
Description: Class to reduce bandwidth usage when you want a to see a smaller version of an image.
Copyright: Copyright (c) 2004
Company: RMRR

Usage: to view /pics/me/L_Image2.jpg on www.dea42.com but resized down to a width of 200 pixels you would pass /pics/me/L_Image2.jpg as the name parm and width as the width parm as in
http://www.dea42.com/servlet/dea.webUtils.ViewImageServlet?name=/pics/me/L_Image2.jpg&width=200

Version:
1.0
Author:
David Abigt
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface dea.common.IDebugLevels
BASIC, DEBUG_ALL, ERROR, METH_DETAIL, METH_ENTER, METH_EXIT, METH_EXT, METH_GET, METH_SET, METH_VARS, SHOW_PASS
 
Constructor Summary
ViewImageServlet()
           
 
Method Summary
 void service(HttpServletRequest request, HttpServletResponse 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

ViewImageServlet

public ViewImageServlet()
Method Detail

service

public void service(HttpServletRequest request,
                    HttpServletResponse response)
             throws ServletException,
                    java.io.IOException
Throws:
ServletException
java.io.IOException


Copyright © 2001-2005 Round Mountain Rescue Ranch. All Rights Reserved.