Class MainServlet

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

public class MainServlet
extends HttpServlet
implements SingleThreadModel
Class to handle the main serlvet. This servlet handles almost all the forms for root/student/faculty.


Constructor Index

 o MainServlet()

Method Index

 o doPost(HttpServletRequest, HttpServletResponse)
Method to Process the submitted form.
 o init(ServletConfig)

Constructors

 o MainServlet
 public MainServlet()

Methods

 o init
 public void init(ServletConfig cfg) throws ServletException
Overrides:
init in class GenericServlet
 o doPost
 public void doPost(HttpServletRequest Req,
                    HttpServletResponse Res) throws ServletException, IOException
Method to Process the submitted form.

Parameters:
Req - HttpServletRequest instance
Res - HttpServletResponse instance
Returns:
Nothing
Overrides:
doPost in class HttpServlet