最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
jsp 分页程序代码
时间:2009-09-29 编辑:简简单单 来源:一聚教程网
jsp 分页程序代码
<%
String s;
String theurl;
theurl="products.jsp?";
s=request.getParameter("s");
if(s!=null){
s=new String(request.getParameter("s").getBytes("iso-8859-1"));
theurl="products.jsp?s="+s;
}
Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
ResultSet Rs=stmt.executeQuery("Select * from hl_smallclass WHERE modiname='产品'");
while (Rs.next()) {
String smallname = Rs.getString("smallname");
%>
<%
}
Rs.close();
%>
首页 > 产品展示 > <% if(s!=null){ out.print(s); } %> | |||||||||
|
<%
stmt.close();
%>
相关文章
- jsp分页程序代码 09-11
- jsp分页程序 04-12
- SpringBoot测试配置属性与web启动环境解析 10-24
- vue中将el-switch值true、false改为number类型的1和0解析 10-24
- Vue中的路由配置项meta使用解读 10-24
- SpringBoot自定义bean绑定解析 10-24