Class CreateMailingList

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

public class CreateMailingList
extends HttpServlet
This servlet creates a mailing list for the admin.


Constructor Index

 o CreateMailingList()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
Print the form to get email ids of the ppl in this mailing list
 o doPost(HttpServletRequest, HttpServletResponse)
Create the mailing list
 o init(ServletConfig)
Initialise the servlet

Constructors

 o CreateMailingList
 public CreateMailingList()

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
Print the form to get email ids of the ppl in this mailing list

Parameters:
req - HttpServletRequest
res - HttpServletResponse
Overrides:
doGet in class HttpServlet
 o doPost
 public void doPost(HttpServletRequest req,
                    HttpServletResponse res) throws ServletException, IOException
Create the mailing list

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