/** * Handler method to process URLs that end with "/bugs" and that are invoked by HTTP GET methods. * * @param uiModel the model supplied the MVC framework. This will be populated with a list of bug * objects. * @return logical name of the view to render the model. */ @RequestMapping(method = RequestMethod.GET) public String list(Model uiModel) { _logger.info("Process form GET list"); List<BugTracking> bugs = bugDao.findAllWithDetail(); uiModel.addAttribute("bugs", bugs); _logger.info("Process form GET list successful"); return "bugs/list"; }