Class SelectPaper
java.lang.Object
|
+----javax.servlet.GenericServlet
|
+----javax.servlet.http.HttpServlet
|
+----SelectPaper
- public class SelectPaper
- extends HttpServlet
This servlet provides an interface to the Admin to make final
selections of papers amongst all that were registered. He gets
to see total marks given by all reviewers as per the weightages
assigned to the attributes being marked, average marks awarded,
Standard deviation amongst the reviews, links to download
the reviews submitted and links to details of each paper.
The papers are sorted accoring to the total marks awarded to them
with the higher marked papers upper in the form, so as to make selection
convinient.
After evaluating the paper on each of these parameters, he can
submit his selection in the form provided which puts a checkbox
in front of each paper. In case of clash or even otherwise,
Admin can mail the reviewers to resubmit their reviews.
Admin can revisit the page to make selection again. He obviously
gets to see the previous selections.
-
SelectPaper()
-
-
doGet(HttpServletRequest, HttpServletResponse)
-
doGet prints the form to make the final selection of papers.
-
doPost(HttpServletRequest, HttpServletResponse)
-
doPost Takes the filled in above form as a request and inserts into database
values if they are not already there, also if a paper is already there
in AcceptedPapers table and is marled not accepted in this request
it is removed from there.
-
init(ServletConfig)
-
SelectPaper
public SelectPaper()
init
public void init(ServletConfig config) throws ServletException
- Overrides:
- init in class GenericServlet
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- doGet prints the form to make the final selection of papers.
The papers are presented in sorted order and marked apriori if they were
selected earlier.
- Parameters:
- req - HttpServletRequest
- res - HttpServletResponse
- Overrides:
- doGet in class HttpServlet
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- doPost Takes the filled in above form as a request and inserts into database
values if they are not already there, also if a paper is already there
in AcceptedPapers table and is marled not accepted in this request
it is removed from there.
- Parameters:
- req - HttpServletRequest
- res - HttpServletResponse
- Overrides:
- doPost in class HttpServlet