<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>MVC 게시판</title>
<style>
#passForm {
width: 300px;
margin: auto;
border: 1px solid orange;
text-align: center;
}
h2 {
text-align: center;
}
table {
width: 300px;
margin: auto;
text-align: center;
}
</style>
</head>
<body>
<!-- 게시판 글 삭제 -->
<h2>게시판 글 삭제</h2>
<section id="passForm">
<form action="BoardDeletePro.bo" name="deleteForm" method="post">
<!-- 입력받지 않은 글번호(board_num)와 페이지번호(pageNum)도 함께 포함시켜 전달 -->
<input type="hidden" name="board_num" value="${param.board_num }">
<input type="hidden" name="pageNum" value="${param.pageNum }">
<table>
<tr>
<td><label>글 비밀번호</label></td>
<td><input type="password" name="board_pass" required="required"></td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="삭제">
<input type="button" value="돌아가기" onclick="javascript:history.back()">
</td>
</tr>
</table>
</form>
</section>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
| 글 비밀번호 | |