ArrayList<BoardDto> boardLists =(ArrayList<BoardDto>) request.getAttribute("boardLists");
// ArrayList<BoardDto> boardLists =(ArrayList) request.getAttribute("boardLists");
out.println("boardLists: "+boardLists);
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table border="1">
<tr>
<td width=100>번호</td>
<td width=200>제목</td>
<td width=100>이름</td>
<td width=100>조회</td>
<td width=100>작성일</td>
</tr>
<%
for(int i=0; i<boardLists.size(); i++){
%>
<tr>
<td width=100><%=boardLists.get(i).getBodIdx()%></td>
<td width=200><%=boardLists.get(i).getBodTitle()%></td>
<td width=100><%=boardLists.get(i).getWriter()%></td>
<td width=100><%=boardLists.get(i).getBodHit()%></td>
<td width=100><%=boardLists.get(i).getRegDate()%></td>
</tr>
<%
}
%>