8586878889909192
user.setUserID(comment1.getCreatedByID()); user = issueService.selectUserByID(user); comment1.setCreator(user.getUsername()); } model.addAttribute("comments", comments); model.addAttribute("comment", new Comment()); return "viewissue"; }
4950515253545556
return "index"; } @RequestMapping(value = "/createissue", method = RequestMethod.GET) public String createIssue(Model model) { model.addAttribute("issue", new Issues()); return "createissue"; }