兄弟的分不多了,清高手帮帮忙吧,多谢了。 JSP代码没贴完吧!怎么是半截的呢?造成500错误一般是刷新响应不及时! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 下面是分页的代码,你是不是想让我贴BEANS的代码呀? <% GeneralTable gt = new GeneralTable(); for (int i=0; i<sizeOfVector; i++){ gt = (GeneralTable)vt.elementAt(i); %> <td height="24" style="line-height:24px"> <img src="image/tb.gif"> <a href="detail.jsp?id=<%=gt.getId()%>" target="new"><%=gt.getTitle()%></a><br> </td> <td><%=gt.getDetail()%></td> <% String temp=gt.getAddDate(); String upd=temp.substring(0,5); %> <td align="center" style="line-height:24px"><%=upd%></td> </tr> <% } %> </table> <table width="95%" valign="top" border="0" cellpadding="2" cellspacing="0" align="center" bgcolor="#C6CF8c"> <tr> <td height="22" align="left" valign="bottom" class="bd-b1"> 共 <%=countOfResult%> 条 <a href="cpzs.jsp?pageNumber=<%=0%>">第一页</a> <a href="cpzs.jsp?pageNumber=<%=pageNumber-1%>">上一页</a> <a href="cpzs.jsp?pageNumber=<%=pageNumber+1%>">下一页</a> <a href="cpzs.jsp?pageNumber=<%=maxOfPage%>">最后一页</a> 第<%=pageNumber+1%>/<%=maxOfPage+1%>页 </td> </tr> </table> <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td><img src="image/bottom.gif" width="579" height="20"></td> </tr> </table> <%}%> java获得局域网内计算机ip和主机名 JSP纯java方式连接Sql server2005问题,在线等!! struts2 页面上 ajax responseText 返回空 mysql建表问题 在hibernate 中求出记录数的语句有问题. utf-8 to ms932 转换(java) Tomcat 与 SQL Server集群设置 Hibernate + Spring save()时怎么能使用mysql的password()函数来加密 JDBC-ODBC的问题 高分求助(sqlserver 2000老连不上,烦死了!) 页面跳转的问题 如何Format JSP的文件?
GeneralTable gt = new GeneralTable();
for (int i=0; i<sizeOfVector; i++){
gt = (GeneralTable)vt.elementAt(i);
%>
<td height="24" style="line-height:24px"> <img src="image/tb.gif">
<a href="detail.jsp?id=<%=gt.getId()%>" target="new"><%=gt.getTitle()%></a><br> </td>
<td><%=gt.getDetail()%></td>
<% String temp=gt.getAddDate();
String upd=temp.substring(0,5);
%>
<td align="center" style="line-height:24px"><%=upd%></td>
</tr>
<%
}
%>
</table>
<table width="95%" valign="top" border="0" cellpadding="2" cellspacing="0" align="center" bgcolor="#C6CF8c">
<tr>
<td height="22" align="left" valign="bottom" class="bd-b1"> 共
<%=countOfResult%> 条
<a href="cpzs.jsp?pageNumber=<%=0%>">第一页</a>
<a href="cpzs.jsp?pageNumber=<%=pageNumber-1%>">上一页</a>
<a href="cpzs.jsp?pageNumber=<%=pageNumber+1%>">下一页</a>
<a href="cpzs.jsp?pageNumber=<%=maxOfPage%>">最后一页</a>
第<%=pageNumber+1%>/<%=maxOfPage+1%>页 </td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="image/bottom.gif" width="579" height="20"></td>
</tr>
</table>
<%}%>