edu.rice.rubis.beans.servlets
Class PutComment
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--edu.rice.rubis.beans.servlets.PutComment
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class PutComment
- extends javax.servlet.http.HttpServlet
This servlets display the page allowing a user to put a comment
on an item.
It must be called this way :
http://..../PutComment?to=ww&itemId=xx&nickname=yy&password=zz
where ww is the id of the user that will receive the comment
xx is the item id
yy is the nick name of the user
zz is the user password
- Version:
- 1.0
- Author:
- Emmanuel Cecchet and Julie Marguerite
- See Also:
- Serialized Form
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Describe doGet method here. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Call the doGet method. |
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 |
PutComment
public PutComment()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Describe
doGet
method here.
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Parameters:
request
- a HttpServletRequest
valueresponse
- a HttpServletResponse
value- Throws:
java.io.IOException
- if an error occursjavax.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
- Call the
doGet
method.
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Parameters:
request
- a HttpServletRequest
valueresponse
- a HttpServletResponse
value- Throws:
java.io.IOException
- if an error occursjavax.servlet.ServletException
- if an error occurs
Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.