public void insert(CommentsVo commentsVo) { commentsDao.insert(commentsVo); }
public void delete(long comments_no) { commentsDao.delete(comments_no); }
public CommentsVo getComments(Model model) { List<CommentsVo> commentsList = commentsDao.selectAll(); model.addAttribute("commentsList", commentsList); return null; }