Class AssignPapers

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

public class AssignPapers
extends HttpServlet
This servlet communicates with the PaperAssignment applet to give it all the info required in the form of a hashtable


Constructor Index

 o AssignPapers()

Method Index

 o doGet(HttpServletRequest, HttpServletResponse)
Give info abt the tentative assignments to the applet in the form of a hashtable.
 o doPost(HttpServletRequest, HttpServletResponse)
Recieve the hashtable of modified assignments and store that in DB
 o init(ServletConfig)
Initialise the servlet

Constructors

 o AssignPapers
 public AssignPapers()

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
Give info abt the tentative assignments to the applet in the form of a hashtable.

Parameters:
res - HttpServletResponse
req - HttpServletRequest
Overrides:
doGet in class HttpServlet
 o doPost
 public void doPost(HttpServletRequest req,
                    HttpServletResponse res) throws ServletException, IOException
Recieve the hashtable of modified assignments and store that in DB

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