-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboardbook_reply.jsp
51 lines (50 loc) · 1.7 KB
/
boardbook_reply.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR" errorPage="boardbook_error.jsp" import="book.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>게시판 답변화면</title>
<jsp:useBean id="login" class="book.LoginBean" scope="session" />
</head>
<%
BoardBean board= new BoardBean();
String snum= request.getParameter("reply_num");
int num=Integer.parseInt(snum);
Board bb = board.getDB(num);
%>
<center>
<H2>게시판:답변화면 </H2>
<HR>
[<a href=boardbook_control.jsp?action=list>게시물목록으로</a>]
<form name=form1 method=post action=boardbook_control.jsp>
<input type=hidden name="action" value="reply">
<input type=hidden name="reply_num" value="<%=request.getParameter("reply_num") %>" >
<table cellpadding=5 cellspacing=0 border="1">
<tr>
<td bgcolor="#99CC00">답변번호</td>
<td><%=request.getParameter("reply_num") %></td>
</tr>
<tr>
<td bgcolor="#99CC00">작 성 자</td>
<td><input type="text" name="userid" value="<%=login.getUserid()%>" size="20"></td>
</tr>
<tr>
<td bgcolor="#99CC00">제목</td>
<td><input type="text" name="b_title" value="re:<%=bb.getB_title()%>" size="20"></td>
</tr>
<tr>
<td bgcolor="#99CC00">비밀번호</td>
<td><input type="password" name="b_passwd" size="20" value="<%=bb.getB_passwd()%>"></td>
</tr>
<tr>
<td colspan="2"><textarea rows="5" name="b_contents" cols="40"></textarea></td>
</tr>
<tr>
<td colspan=2 align=center><input type=submit value="저장"><input type=reset value="취소"></td>
</tr>
</table>
</form>
</center>
</body>
</html>