I want to paginate my jsp page to have just 10 records at a time then my page will have previous and next links to go through the records and hw can achieve it with JSTL here is my code so far
<sql:query var="fnames" datasource="myDB">
select * from employee
</sql:query>
<table>
<c:forEach var="employee" values="${fnames.rows}">
${employee.firstname}
</c:forEach></table>