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