public class FaviconServlet
extends javax.servlet.http.HttpServlet
This servlet expects the web application to have the images/server_16x16.gif file that is used when no favicon is found.
Constructor and Description |
---|
FaviconServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Retrieve the image based on it's name.
|
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
request
- the httpservletrequest.response
- the httpservletresponse.javax.servlet.ServletException
IOException
Copyright © 2003-2008 Jive Software.