org.oddjob.webapp.servlets
Class IconServlet

java.lang.Object
  extended by HttpServlet
      extended by org.oddjob.webapp.servlets.IconServlet

public class IconServlet
extends HttpServlet

Servlet to serve the icon images because the Iconic interface provides binary image data, not a file that the container can serve directly.

Author:
rob

Constructor Summary
IconServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 long getLastModified(HttpServletRequest request)
           
 void init(ServletConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconServlet

public IconServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Throws:
ServletException
IOException

getLastModified

public long getLastModified(HttpServletRequest request)