?? bulletin.jsp
字號:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page language="java" import="bull.bulletin"%>
<%@ page language="java" import="java.util.*"%>
<%@ page language="java" import="java.io.*"%>
<jsp:useBean id="j" scope="application" class="jdbc.jdbc"/>
<jsp:useBean id="b" scope="application" class="bull.bulletin_show"/>
<body>
<form name="form1" method="post" action="">
<table width="90%" border="1" cellspacing="0" bordercolor="#CCCCFF">
<tr>
<td colspan="2"> <div align="center">公告欄</div></td>
</tr>
<%
b.con=j.getConnection();
Collection bcol=b.b_show();
Iterator it=bcol.iterator();
while(it.hasNext())
{
bulletin bu=(bulletin)it.next();
%>
<tr>
<td width="91%"> <a href="bulletin_intro.jsp?title=<%=bu.getBulletin_title()%>" target="_blank">
<%out.print(bu.getBulletin_title());%>
</td>
</tr>
<%
it.remove();
}
j.releaseConnection(b.con);
%>
</table>
<p align="right">
<input type="submit" name="Submit" value="提交">
</p>
</form>
</body>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -