Class MailServlet

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

public class MailServlet
extends HttpServlet
This servlet is used to send mails to ppl. NOTE: Admin can send mail to 1) PC members 2) All participants 3) All authors 4) A particular mailing list 5) Reviewers of a particular PaperId 6) General Recipients Reviewer can send mail to 1) PC members 2) Reviewers of a particular PaperId 3) General Recipients


Constructor Index

 o MailServlet()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
Present the form in which the mail parameters are to be filled and then POST it to the same servlet
 o doPost(HttpServletRequest, HttpServletResponse)
Sends the mail.
 o init(ServletConfig)
Initialise the servlet

Constructors

 o MailServlet
 public MailServlet()

Methods

 o init
 public void init(ServletConfig config) throws ServletException
Initialise the servlet

Parameters:
config - ServletConfig
Overrides:
init in class GenericServlet
 o doGet
 public void doGet(HttpServletRequest req,
                   HttpServletResponse res) throws ServletException, IOException
Present the form in which the mail parameters are to be filled and then POST it to the same servlet

Parameters:
req - HttpServletRequest
res - HttpServletResponse
Overrides:
doGet in class HttpServlet
 o doPost
 public void doPost(HttpServletRequest req,
                    HttpServletResponse res) throws ServletException, IOException
Sends the mail.

Parameters:
req - HttpServletRequest
req - HttpServletResponse
Overrides:
doPost in class HttpServlet