⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 replylist.jsp

📁 这个是使用JSP、JDBC技术构架一个关于JAVA语言的BBS讨论区
💻 JSP
字号:
<%--
File Name:replylist.jsp
Author:fancy
Date:2001.6.1
Usage:list all the reply topic
Address:Peking University 37#215,62762526,fancyrainbow@263.net,bbs.pku.edu.cn(id:javalover)
Note:1.这是一个Open Source项目,你可以自由的获取,修改,传播本项目的代码,无需经过本人的同意。
     2.你不可以将本项目的源代码用于商业应用,除非获得本人的书面允许。
     3.本项目的核心源代码所有权归原开发者所有,如果需要获取最新的核心代码,请与本人联系
--%>
<%
java.sql.Statement stmtreplylist=conn.createStatement();
String sql="SELECT * FROM data WHERE ref="+currid;
ResultSet replylist=stmtreplylist.executeQuery(sql);
%>
<div align="left" class= "div1" style="width: 183; height: 143" id="syswelcome">                  
  <table border="0" cellpadding="0" cellspacing="0" width="174" height="128" class="syswelcomemsg">                  
    <tr>                  
      <td width="19" height="20" bgcolor="#C0C0C0" valign="middle" align="center" id="small" LANGUAGE=javascript onclick="return small_onclick()">                  
      <img border="0" src="img/small.JPG" width="19" height="20">                  
     </td>                  
      <td width="155" height="21" valign="middle" align="center" background="img/bottom.gif">回文列表</td>                  
    </tr>                  
    <tr>                  
      <td width="174" colspan="2" height="107" align="left" valign="middle" bgcolor="#dceded">
      <font size="2">                  
      <%
      while(replylist.next())
      {
      %>
      &nbsp;&nbsp;&nbsp;&nbsp;<li><a href="view.jsp?id=<%=replylist.getInt(13)%>"><%=replylist.getString(1)%></a></li>
      <%
      }
      %>
      </font>                  
      </td>                  
    </tr>                  
   </table>                           
</div>        

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -