|
Project 4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
cscie259.project4.scamazon.ScamazonServlet
cscie259.project4.scamazon.Cart
This servlet implements Scamazon.com's shopping cart. Any references to the local file system are resolved with respect to project4-6.0/webapps/scamazon/, per ScamazonServlet's implementation of javax.xml.transform.URIResolver.
You MUST modify this file.
Nested Class Summary |
Nested classes inherited from class cscie259.project4.scamazon.ScamazonServlet |
ScamazonServlet.AnErrorListener, ScamazonServlet.myURIResolver |
Field Summary |
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Constructor Summary | |
Cart()
|
Method Summary | |
protected void |
doWork(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles operations involving the shopping cart. |
Methods inherited from class cscie259.project4.scamazon.ScamazonServlet |
doGet, doPost, forward, redirect |
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 |
public Cart()
Method Detail |
protected void doWork(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
doWork
in class ScamazonServlet
request
- HTTP request objectresponse
- HTTP response object
java.io.IOException
- if an IO-related error occurs
javax.servlet.ServletException
- if a servlet-related error occurs
|
Project 4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |