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.
-
MailAuthors()
-
-
init(ServletConfig)
- Initialise the servlet
-
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.
MailAuthors
public MailAuthors()
init
public void init(ServletConfig config) throws ServletException
- Initialise the servlet
- Parameters:
- config - ServletConfig
- Overrides:
- init in class GenericServlet
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