All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tejas.EMAddSubEventServlet

java.lang.Object
   |
   +----javax.servlet.GenericServlet
           |
           +----javax.servlet.http.HttpServlet
                   |
                   +----tejas.EMAddSubEventServlet

public class EMAddSubEventServlet
extends HttpServlet
This class allows an Event Manager to create a new Sub Event The EM enters a Subevent Name, a SE id, capacity, SEM name, SEM id

Author:
B.Aditya

Constructor Index

 o EMAddSubEventServlet()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
processes a get request and spews out a form for the EM to fill
 o doPost(HttpServletRequest, HttpServletResponse)
processes the form posted by the sysad, and inserts the new event

Constructors

 o EMAddSubEventServlet
 public EMAddSubEventServlet()

Methods

 o doGet
 public void doGet(HttpServletRequest req,
                   HttpServletResponse res) throws ServletException, IOException
processes a get request and spews out a form for the EM 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
 o doPost
 public void doPost(HttpServletRequest req,
                    HttpServletResponse res) throws ServletException, 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