jsp分页显示问题?
请大家帮忙看看下面代码,只能显示第一页,但是不能显示下一页的内容.看看代码应该怎么改呢? 谢谢!
<TD class=style2 align=left> <SPAN
class=style4> >> </SPAN> <SPAN class=style3> <%String strMotif=request.getParameter( "strMotif ");
out.print(getHomePageData.getAreaTitle(strMotif, session));%>
</SPAN> </TD> </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE>
<% co_Dao tempDao = co_BeanFactory.getDao();
String table=request.getParameter( "table ");
String strBID=request.getParameter( "BID ");
String appcatlog=request.getParameter( "appcatlog ");
int countpage=0;
SqlRowSet rows1=tempDao.ExcuteQuery( "select count(*) from " +table+ " a,AppWorkFlow b where a.APPSEQ=B.APPSEQ AND WFSTATE=0 and appcatlog= "+appcatlog );
rows1.next();
int page_record=4;
int rowscount=rows1.getInt(1);
countpage=(rowscount+page_record-1)/page_record;
int curpage=Integer.parseInt(request.getParameter( "page "));
if(curpage==1){
String strSql=co_JdbcUtil.getConfigSql( "SQL_SMT_023 ",
&n