基于jsp论坛课程设计报告(编辑修改稿)内容摘要:

body table width=1039 height=167 border=1 cellpadding=0 cellspacing=0 tr th width=257 bgcolor=00bc9a scope=coldiv align=center发帖人: ${} /div/th th width=501 bgcolor=00BC9A scope=col 主 帖 标 题 :${ }/th th width=148 bgcolor=00BC9A scope=col 发 帖 时 间 :${ }/th th width=123 bgcolor=00BC9A scope=col /th /tr tr td height=48p align=center class=STYLE1 STYLE1img src=images/ width=14 height=14/p p align=center class=STYLE1 STYLE1${ }/p/td td colspan=3align=left valign=topp class=STYLE1 STYLE1内容: /p p class=STYLE1 STYLE1${ }/p/td /tr c:forEach items=${rdata} var=tem varStatus=i tr td height=28 bgcolor=00BC9A class=adiv align=center class=STYLE1回帖人 /div/td td bgcolor=00BC9A class=a回帖时间: ${ }/td td bgcolor=00BC9A class=a楼层: c:if test=${==1 }沙发 /c:if c:if test=${!=1 }${ }/c:if/td td bgcolor=00BC9A class=aa href=delReplyservlet?replyid=${}amp。 amp。 topicid=${id}删除 /a/td /tr tr td height=48div align=center class=STYLE1 pimg src=images/ width=14 height=14/p p${}/p /div/td td colspan=3 align=left valign=topspan class=STYLE1 c:if test=${==0} 该帖子已被删除 /c:if c:if test=${==1} ${} /c:if 11 /span/td /tr /c:forEach /table form name=form1 method=post action=addreplyservlet table width=315 height=125 border=1 align=center cellpadding=0 cellspacing=0 tr th colspan=2 bgcolor=00BC9A scope=col跟帖(提示:请登录) /th /tr tr td bgcolor=00BC9A内容 /td tdlabel textarea name=contentinfo cols=30 rows=8/textarea input type=hidden name=flag value=${} input type=hidden name=topicid value=${} /label/td /tr tr td height=23 colspan=2 align=center bgcolor=00BC9Alabel input type=submit name=Submit value=提交 input type=reset name=Submit2 value=重置 /label/td /tr /table /form /body addreplyservlet: (gb2312)。 String content=(contentinfo)。 String topicid=(topicid)。 (content+||+topicid+||)。 HttpSession session=()。 String userid=(String)(uid)。 int n=(content, topicid, userid)。 //3转向 if(n0){ //合法用户 12 (NeiRong?topicid=+topicid)。 }else{ //非法用户 (添加失败。 )。 } 回帖: %@ taglib uri= prefix=c % /head script language=javascript function check(){ var a=。 if(a==){ alert(要发贴,请先登录 )。 return false。 } var b=。 if(content==){ alert(请输入主帖的标题 )。 return false。 } return true。 } /script body table width=1039 height=167 border=1 cellpadding=0 cellspacing=0 tr th width=257 bgcolor=00bc9a scope=coldiv align=center发帖人: ${} /div/th th width=501 bgcolor=00BC9A scope=col 主 帖 标 题 :${ }/th th width=148 bgcolor=00BC9A scope=col 发 帖 时 间 :${ }/th th width=123 bgcolor=00BC9A scope=col /th。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。