edu.rice.rubis.beans.servlets
Class BrowseCategories

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--edu.rice.rubis.beans.servlets.BrowseCategories
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class BrowseCategories
extends javax.servlet.http.HttpServlet

Builds the html page with the list of all categories and provides links to browse all items in a category or items in a category for a given region

Version:
1.0
Author:
Emmanuel Cecchet and Julie Marguerite
See Also:
Serialized Form

Constructor Summary
BrowseCategories()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Build the html page for the response
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Same as doGet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, 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

BrowseCategories

public BrowseCategories()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Build the html page for the response
Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request - a HttpServletRequest value
response - a HttpServletResponse value
Throws:
java.io.IOException - if an error occurs
javax.servlet.ServletException - if an error occurs

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException
Same as doGet.
Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
request - a HttpServletRequest value
response - a HttpServletResponse value
Throws:
java.io.IOException - if an error occurs
javax.servlet.ServletException - if an error occurs


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.