All Packages Class Hierarchy This Package Previous Next Index
Class tejas.RegisterServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----tejas.RegisterServlet
- public class RegisterServlet
- extends HttpServlet
This class allows a participant to register for an event. The participant
supplies his profile information through a form and requests a user-id for
a particular event.
- Author:
- Tejas Iyer
-
RegisterServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
- Processes all get requests and spews out a form for
submission of user profile.
-
doPost(HttpServletRequest, HttpServletResponse)
- Processes all post requests and registers the flo for the event.
-
init()
- Init method of the servlet
-
printFormRow(PrintWriter, String, String, String)
-
RegisterServlet
public RegisterServlet()
init
public void init()
- Init method of the servlet
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Processes all get requests and spews out a form for
submission of user profile.
- Parameters:
- req - the HttpServletRequest sent by the form/page
- res - the HttpServletResponse contains the response for the request
- Overrides:
- doGet in class HttpServlet
printFormRow
public void printFormRow(PrintWriter pw,
String label,
String inputName,
String inputType)
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Processes all post requests and registers the flo for the event.
- Parameters:
- req - the HttpServletRequest sent by the form/page
- res - the HttpServletResponse contains the response for the request
- Overrides:
- doPost in class HttpServlet
All Packages Class Hierarchy This Package Previous Next Index