Jsp+beans分页显示记录实战[13]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 kimchoonho 的 blog

显示首页:<input type="hidden" name="a" value="first">

<input type=submit value="first">

</form>

<form action="<%=str%>" method="post">

显示下一页:<input type="hidden" name="a" value="next">

<input type=submit value="next">

</form>

<form action="<%=str%>" method="post">

显示上一页:<input type="hidden" name="a" value="previous">

<input type=submit value="previous">

</form>

<form action="<%=str%>" method="post">

输入要显示的页数:<input type="text" name="a" value="1" style="text-align:right">

<input type=submit value="submit">

</form>

<%

     string s=request.getparameter("a");

        if(s==null){

本文关键:Jsp+beans分页显示记录实战
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top