Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

pagination

838529Nov 1 2011 — edited Nov 9 2011
Please guys am new to J2EE I want to paginate a large result set from an SQL query am using MySQL for eg. if i have 50 records in my DB and i need only 10 records at a time then i will have a next and previous links to go through the records my sql query looks like this

<sql:query var="employees" datasource="jdbc/myDB" >

SELECT * FROM employee

</sql:query>

<c:forEach var="employee" items="${employees.rows}">
<table>
<td>
${employee.firstname}
</td>
</table>
</c:forEach>

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 7 2011
Added on Nov 1 2011
6 comments
134 views