I\'m trying to retrieve the user information from DB and display in the front end (JSP) using Spring MVC.
Inside the controller, currently I\'m adding the following cod
**In Controller do IT**
@RequestMapping(value = "/loginStep.do", method = RequestMethod.GET)
public String loginStep(ModelMap model,HttpServletRequest request, HttpServletResponse response,HttpSession session) {
model.addAttribute("YearList", yearList);
return "uploadPDFPage";
}
**In uploadPDFPage JSP Do it**
${YearList}