All Packages Class Hierarchy This Package Previous Next Index
Class tejas.AdminCreateEventServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----tejas.AdminCreateEventServlet
- public class AdminCreateEventServlet
- extends HttpServlet
This class allows the system administrator to create a new event, specify its
ID, and specify its capacity as well.
- Author:
- Tejas Iyer
-
AdminCreateEventServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
- processes a get request and spews out a form for the sysad to fill
-
doPost(HttpServletRequest, HttpServletResponse)
- processes the form posted by the sysad, and inserts the new event
-
init()
- The init method of the servlet
AdminCreateEventServlet
public AdminCreateEventServlet()
init
public void init()
- The init method of the servlet
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res) throws IOException
- processes a get request and spews out a form for the sysad to fill
- Parameters:
- req - The HttpServletRequest which asked for the form
- res - The HttpServletResponse to which the form shall be written
- Overrides:
- doGet in class HttpServlet
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res) throws IOException
- processes the form posted by the sysad, and inserts the new event
- Parameters:
- req - The HttpServletRequest which gave the form contents
- res - The HttpServletResponse on which the success/failure is informed
- Overrides:
- doPost in class HttpServlet
All Packages Class Hierarchy This Package Previous Next Index