Class MailAuthors

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

public class MailAuthors
extends HttpServlet
This servlet mails all authors whether their papers have been accpted or not automatically, when the Admin is finally done with accepting all papers.


Constructor Index

 o MailAuthors()

Method Index

 o init(ServletConfig)
Initialise the servlet
 o service(HttpServletRequest, HttpServletResponse)
Reads from the tables AUTHOREDBY and ACCEPTEDPAPER and sends different mails to authors whose papers have been accepted and whose papers have not been accepted.

Constructors

 o MailAuthors
 public MailAuthors()

Methods

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

Parameters:
config - ServletConfig
Overrides:
init in class GenericServlet
 o service
 public void service(HttpServletRequest req,
                     HttpServletResponse res) throws ServletException, IOException
Reads from the tables AUTHOREDBY and ACCEPTEDPAPER and sends different mails to authors whose papers have been accepted and whose papers have not been accepted.

Parameters:
req - HttpServletRequest
res - HttpServletResponse
Overrides:
service in class HttpServlet