org.efaps.ui.servlet
Class ImageServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.efaps.ui.servlet.ImageServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ImageServlet
extends javax.servlet.http.HttpServlet

The servlet checks out user interface images depending on the administrational name (not file name).
E.g.:
/efaps/servlet/image/Admin_UI_Image.

Version:
$Id:ImageServlet.java 1510 2007-10-18 14:35:40Z jmox $
Author:
tmo
See Also:
Serialized Form

Constructor Summary
ImageServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest _req, javax.servlet.http.HttpServletResponse _res)
          The method checks the image from the user interface image object out and returns them in a output stream to the web client.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, 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

ImageServlet

public ImageServlet()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest _req,
                     javax.servlet.http.HttpServletResponse _res)
              throws javax.servlet.ServletException,
                     java.io.IOException
The method checks the image from the user interface image object out and returns them in a output stream to the web client. The name of the user interface image object must given as name at the end of the path.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
_req - request variable
_res - response variable
Throws:
javax.servlet.ServletException - on error
java.io.IOException - on error
See Also:
#PARAM_ATTRNAME, #PARAM_OID


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.