ÆÄÀϸí: Read.jsp (±×¸²º¸±â) -------------------------------------- ....................................... ¹øÈ£: ³¯Â¥: »ç¶÷: Ip : Á¦¸ñ: :: ³»¿ë :: ........................................
........................................ ~~~ ¸ñ·Ï ~~~ ~~~ ¸ñ·Ï ~~~ ~~~ ¸ñ·Ï ~~~ ........................................ À̸§: ºñ¹Ð¹øÈ£: [ÄÚ¸àÆ®] ........................................ [¸ñ·Ï][´äº¯][¼öÁ¤][»èÁ¦] ----------------------------------------
create table boardreply( replynum int(11) auto_incremint primary key, boadnum int(11), name varchar(20), passwd varchar(10), coment text, ip varchar(15), date varchar(20) );
ÆÐÅ°Áö: BoardReply (1)BoardReplyBean.java 7°³ÀÇ privateº¯¼ö +7°³ set+7°³get
(2)BoardReplyMgr.java - import DBCon.*;//pooling±â¹ýÀû¿ë - »ý¼ºÀÚ¿¡¼ //pool¿µ¿ª¾ò¾î¿À±â - ***get BoardReplyList (int boardnum) ±Û¹øÈ£(20) select * from boardreply where boardnum=? order by replynum asc --->·¹ÄÚµåÇØ´ç] BoardReplyBean º¤ÅÍ¿¡ Ãß°¡
[ getBoardReplyList(intboardnum) -±Û¹øÈ£ void insert Board Reply (Bored Rieply Boan ~~~)= ::::::::::::::::::::::::::::::::::::::::
board Reply <jsp:useBean id=myBoardReply class=(1) /> <jsp: ~ <jsp:useBean id=myDBReply class=(2) /> myDBReply.insertBoardReply(myBoardReply);
--->À̵¿ ====>Read.jsp?num=+bormdnum)
<form name=replyform action=0 À̸§ ºñ¹Ð¹øÈ£ ³»¿ë <input type=hidden name=boardnum value=<%=num%>>
</form>
JSP½ºÅ͵ð 2004 12 14
¼Ò½ºÁ¤È®ÇÏ°Ô º¸±â
http://www.6VJ.com/jsp/jsp1214.txt
|