dao 전체출력메서드 getalldatas는 필요없음.. 전체출력은 한페이지에 모든 데이터를 다 보여줌 페이징: mysql에서는 파라메타값을 시작페이지와 simpleDao.java //페이징 //1.전체 개수 구하기 public int getTotalCount() { Connection conn=db.getConnection(); PreparedStatement pstmt=null; ResultSet rs=null; //몇개인지 조회하는 것이기에 필요 int n=0; String sql="select count(*) from simpleboard"; try { pstmt=conn.prepareStatement(sql); rs=pstmt.executeQuery(); if(rs.next()) { n=rs.g..