6 of JAVA/JSP Learning Series

Source: Internet
Author: User


I. Preparations before running

Download the mysql jdbc Driver (a jar file) and load it in CLASSPATH (for the method, see one of the JAVA/JSP Learning Series (JDK installation).

(If not found, download from this site)

Create a MySQL database test

The database has a table: note with the field name (varchar)

Ii. Download and install



IntPageCount) intPage = intPageCount;

%>

















Name



0)

{

// Locate the record pointer to the first record on the page to be displayed.

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

// Display data

I = 0;

While (I















Page

"> Next page

1) {%> "> Previous Page







3. How to run it?
(Source: viphot.com)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.