Class EventInitialize

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

public class EventInitialize
extends HttpServlet
This servlet will ask the admin for information about the hotels, programs and events.


Constructor Index

 o EventInitialize()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
This function accepts as input the no of hotels, events, programs and affiliations and generates a form for accepting information.
 o doPost(HttpServletRequest, HttpServletResponse)
This function accepts informtion from the form generated by the doGet function and inserts into the database.
 o init(ServletConfig)
Initialize the servlet

Constructors

 o EventInitialize
 public EventInitialize()

Methods

 o init
 public void init(ServletConfig servletconfig) throws ServletException
Initialize the servlet

Parameters:
ServletConfig - servletcofig
Overrides:
init in class GenericServlet
 o doGet
 public void doGet(HttpServletRequest httpservletrequest,
                   HttpServletResponse httpservletresponse) throws ServletException, IOException
This function accepts as input the no of hotels, events, programs and affiliations and generates a form for accepting information.

Parameters:
HttpServletRequest - httpservletrequest
HttpServletResponse - httpservletresponse
Overrides:
doGet in class HttpServlet
 o doPost
 public void doPost(HttpServletRequest httpservletrequest,
                    HttpServletResponse httpservletresponse) throws ServletException, IOException
This function accepts informtion from the form generated by the doGet function and inserts into the database.

Parameters:
HttpServletRequest - httpservletrequest
HttpServletResponse - httpservletresponse
Overrides:
doPost in class HttpServlet