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
-
MailServlet()
-
-
doGet(HttpServletRequest, HttpServletResponse)
- Present the form in which the mail parameters are to be filled and then
POST it to the same servlet
-
doPost(HttpServletRequest, HttpServletResponse)
- Sends the mail.
-
init(ServletConfig)
- Initialise the servlet
MailServlet
public MailServlet()
init
public void init(ServletConfig config) throws ServletException
- Initialise the servlet
- Parameters:
- config - ServletConfig
- Overrides:
- init in class GenericServlet
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
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Sends the mail.
- Parameters:
- req - HttpServletRequest
- req - HttpServletResponse
- Overrides:
- doPost in class HttpServlet