<%@page import="board.dto.BoardDTO"%>
<%@page import="board.dao.BoardDAO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>boardModifyForm.jsp</title>
<style type="text/css">
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
td {
text-align: center;
}
</style>
<script type="text/javascript" src="../script/boardscript.js?after"></script>
</head>
<body>
<br><br>
<h1>글수정</h1>
<br>
<form name="boardmodifyForm" action="boardmodify.jsp" method="post">
<input type="hidden" name="seq" value="${seq}"/>
<input type="hidden" name="pg" value="${pg}"/>
<table>
<tr>
<td colspan="3">
<label>글제목 : </label>
<input type="text" name="subject" value="${subject}">
</td> <!-- 제목 -->
</tr>
<tr>
<td width="200px">글번호 : ${seq}</td>
<td width="200px">작성자 : ${name}</td>
<td width="200px">조회수 : ${hit}</td>
</tr>
<tr>
<td colspan="3" height="300px" valign="top">
<label>글 내용 : </label>
<textarea rows="20" cols="52" name="content">${content}</textarea> <!-- 내용 -->
</td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="button" value="수정 완료" onclick="checkBoardModify()"/>
</td>
</tr>
</table>
</form>
</body>
</html>
|