public String addComment(HttpServletRequest request,
HttpServletResponse response,
@RequestParam(value = "id", required = false) Long id,
ModelMap model) throws Exception {
if (id != null) {
Comment comment = commentService.findCommentById(id);
model.addAttribute("commentAttribute", comment);
} else {
model.addAttribute("commentAttribute", new Comment());
}
return "/admin/comment/commentForm";
}