Class RegServlet

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

public class RegServlet
extends HttpServlet
implements SingleThreadModel
A class to handle the registration servlet.


Variable Index

 o title

Constructor Index

 o RegServlet()

Method Index

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

Variables

 o title
 public static String title

Constructors

 o RegServlet
 public RegServlet()

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. Checks for validity by searching from the institute database and sending mail to student if valid registration has occured

Parameters:
req - HttpServletRequest instance
res - HttpServletResponse instance
Returns:
Nothing
Overrides:
doPost in class HttpServlet