1. DB 연결 관련 Dao, Vo 자바 파일 생성

2. Fcontroller에 해당 내용 추가 및 임포트
3. 출력 테스트를 위한 View 파일 추가
This commit is contained in:
mcutegs2
2020-06-15 19:22:45 +09:00
parent d902a4a65a
commit e2e4c47a15
10 changed files with 440 additions and 25 deletions

View File

@@ -0,0 +1,50 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<style>
#menu1 ul li a{
text-decoration: none;
color: white;
}
#totalDiv{
width : 800px;
display: block;
margin : 0 auto;
}
h1 {
text-align : center;
}
</style>
</head>
<body>
<div class="container" style="height : 80%">
<div class="row">
<div class="col h-100">
<table class="table table-dark">
<tr>
<th>작성자</th>
<td>${board.writer}</td>
<th>작성일자</th>
<td>${board.wDate}</td>
</tr>
<tr>
<th>제목</th>
<td colspan="3">${board.title}</td>
</tr>
<tr>
<th class="h-100 d-inline-block">내용</th>
<td colspan="3">${board.content}</td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>