edu.rice.rubis.servlets
Class RegisterItem
edu.rice.rubis.servlets.RubisHttpServlet
|
+--edu.rice.rubis.servlets.RegisterItem
- public class RegisterItem
- extends RubisHttpServlet
Add a new item in the database
- Version:
- 1.0
- Author:
- Emmanuel Cecchet and Julie Marguerite
Method Summary |
void |
destroy()
Clean up the connection pool. |
void |
doGet(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
Check the values from the html register item form and create a new item |
void |
doPost(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
Call the doGet method: check the values from the html register item form
and create a new item |
int |
getPoolSize()
|
RegisterItem
public RegisterItem()
getPoolSize
public int getPoolSize()
- Overrides:
getPoolSize
in class RubisHttpServlet
doGet
public void doGet(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
throws java.io.IOException,
edu.rice.rubis.servlets.ServletException
- Check the values from the html register item form and create a new item
- Overrides:
doGet
in class RubisHttpServlet
doPost
public void doPost(edu.rice.rubis.servlets.HttpServletRequest request,
edu.rice.rubis.servlets.HttpServletResponse response)
throws java.io.IOException,
edu.rice.rubis.servlets.ServletException
- Call the doGet method: check the values from the html register item form
and create a new item
- Overrides:
doPost
in class RubisHttpServlet
destroy
public void destroy()
- Clean up the connection pool.
- Overrides:
destroy
in class RubisHttpServlet
Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.