Spring MVC 기본 게시판 예제 만들기 - 4. 수정
1)수정 View 설정 2)DAO 설정 private static final String UPDATE_SQL = "UPDATE zboard SET writer=?,title=?,content=? WHERE num=?"; @Override public void updateBoard(BoardVO board) { jdbcTemplate.update(UPDATE_SQL,new Object[] {board.getWriter(), board.getTitle(), board.getContent(), board.getNum()}); } 3)Service 4)Controller @RequestMapping(value="/update.do",method=RequestMethod.POST) public String sub..