edu.pdx.cs399J.servlets
Class LastVisitServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by edu.pdx.cs399J.servlets.LastVisitServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class LastVisitServlet
extends HttpServlet

This servlet sets cookies on the client's browser to determine when the last time the page was visited.

See Also:
Serialized Form

Constructor Summary
LastVisitServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
 
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

LastVisitServlet

public LastVisitServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException


Copyright © 2000-2009 Portland State University. All Rights Reserved.