1. DB 연동 관련 Driver 추가
2. DB 연동 후 데이터 출력 test 파일 제작
This commit is contained in:
@@ -14,7 +14,11 @@ public class BoardViewCommand implements Command {
|
||||
}
|
||||
|
||||
public String exec(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
|
||||
|
||||
BoardDao dao = new BoardDao();
|
||||
BoardVo vo = new BoardVo();
|
||||
vo = dao.select(vo);
|
||||
request.setAttribute("print", vo);
|
||||
|
||||
return "boardView.jsp";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user