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
-
AssignPapers()
-
-
doGet(HttpServletRequest, HttpServletResponse)
- Give info abt the tentative assignments to the applet in the
form of a hashtable.
-
doPost(HttpServletRequest, HttpServletResponse)
- Recieve the hashtable of modified assignments and store that in DB
-
init(ServletConfig)
- Initialise the servlet
AssignPapers
public AssignPapers()
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
- 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
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