<body background="<%=sBgFile%>" BGCOLOR="000000" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="onload();">
<table>
<tr>
<td height="100"width="50"></td>
</tr>
<%
SelectBean selectBean = new SelectBean(request);
Collection arrayCen = null;
try {
arrayCen = selectBean.selecttable();
} catch (Exception e) {
e.printStackTrace();
}
if(arrayCen!=null&&arrayCen.size()>0)
{
Iterator it = arrayCen.iterator();
while (it.hasNext()) {
EpForm empForm = (EpForm) it.next(); %>
<tr>
<td><%=empForm.getFilmName()%></td> </tr>
<% } }
%>
</table>
</body>数据我已经取出来了我想分页显示要怎么作
<table>
<tr>
<td height="100"width="50"></td>
</tr>
<%
SelectBean selectBean = new SelectBean(request);
Collection arrayCen = null;
try {
arrayCen = selectBean.selecttable();
} catch (Exception e) {
e.printStackTrace();
}
if(arrayCen!=null&&arrayCen.size()>0)
{
Iterator it = arrayCen.iterator();
while (it.hasNext()) {
EpForm empForm = (EpForm) it.next(); %>
<tr>
<td><%=empForm.getFilmName()%></td> </tr>
<% } }
%>
</table>
</body>数据我已经取出来了我想分页显示要怎么作
解决方案 »
- jdk1.7改成jdk1.6要改哪里?
- 大神 啊HElp
- 求个LCDS
- java 从mysql中读取图片及相关信息问题??
- 分享 Jquery+JAVA实现开心网上传头像剪裁功能
- java类输出的括号,引号变成了转移字符
- 急求struts+数据库作的用户管理的例子!在线等!!
- 菜鸟求助:java中用jdbc连接时能访问表中的内容,为什么在jsp中却没有显示结果呢?谢谢~
- 奇怪的问题???
- 求给位大神给点援助吧,实在没招了
- 点击一个按钮(同上)让文本框值等于上一个文本框的值?请大家帮帮忙
- 请教有iReport经验者一个iReport设计jasper报表是如果在detail中有多条记录,如何设置在奇数行的时候显示红色在偶数行的时候显示蓝色?
http://blog.csdn.net/softwave/articles/530757.aspx
//10 每页显示记录数
//4 第几页
//id 主健
//自己写个函数吧,别忘了加上where 和order by条件。
那个我没有看董