All Packages Class Hierarchy This Package Previous Next Index
Class tejas.LoginServlet
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----tejas.LoginServlet
- public class LoginServlet
- extends HttpServlet
This class provides a login page for each event
- Author:
- Tejas Iyer
-
LoginServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
- Processes all get requests and prints a form for
logging in the user/event-organiser/subevent-organiser
-
doPost(HttpServletRequest, HttpServletResponse)
- Verifies the userid, password and recognises the class of the user
-
goChoice(HttpSession, PrintWriter, String, String, String, int)
-
LoginServlet
public LoginServlet()
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Processes all get requests and prints a form for
logging in the user/event-organiser/subevent-organiser
- Parameters:
- req - the HttpServletRequest sent by the form/page
- res - the HttpServletResponse contains the response for the request
- Overrides:
- doGet in class HttpServlet
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException
- Verifies the userid, password and recognises the class of the user
- Parameters:
- req - the HttpServletRequest which generated the post
- res - the HttpServletResponse contains the response for the request
- Overrides:
- doPost in class HttpServlet
goChoice
public void goChoice(HttpSession session,
PrintWriter pw,
String userid,
String eventid,
String subeventid,
int usertype)
All Packages Class Hierarchy This Package Previous Next Index