Home > php教程 > php手册 > JAVA/JSP学习系列之六

JAVA/JSP学习系列之六

WBOY
Release: 2016-06-13 12:46:20
Original
1074 people have browsed it


一、运行前准备

下载了mysql的jdbc驱动(一个jar文件)并加载在CLASSPATH(方法见《JAVA/JSP学习系列之一(JDK安装) 》)

(如果找不到,请从本站下载)

建一个MySQL数据库test

数据库中有一个表:note,字段为:name(varchar)

二、下载,安装



intPageCount) intPage = intPageCount;

%>

















姓名



0)

{

//将记录指针定位到待显示页的第一条记录上

sqlRst.absolute((intPage-1) * intPageSize + 1);

//显示数据

i = 0;

while(i















第页 共页

">下一页

1){%>">上一页







三、怎么去运行?
(出处:viphot.com)

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template