/** * @param mapping * @param form * @param request * @param response * @return * @throws Exception */ public ActionForward labDue( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { LabDueDao lab = new LabDueDao(); request.setAttribute("users", lab.users()); ActionForward actionForward = mapping.findForward("queue"); return actionForward; }
/** * @param mapping * @param form * @param request * @param response * @return * @throws Exception */ public ActionForward filterDetails( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String userName = request.getParameter("user"); LabDueDao lab = new LabDueDao(); request.setAttribute("dues", lab.labDue(userName, request)); ActionForward actionForward = mapping.findForward("filterRecords"); return actionForward; }