Try this very simple �..
File.jsp
========
<html>
<%
java.util.ArrayList a = new java.util.ArrayList();
for(int i = 0;i < 45;i++){
a.add(String.valueOf(i));
}
session.setAttribute("data",a);
%>
<jsp:forward page="another.jsp?status=0"/>
</html>
Another.jsp
============
<html>
<%
String status = request.getParameter("status");
int intVar = Integer.parseInt(status);
java.util.ArrayList al = (java.util.ArrayList)session.getAttribute("data");
%>
<form name="form1">
<table>
<%
for(int i = intVar*10;i<intVar*10+10;i++){
%>
<tr>
<td>
<%=al.get(i)%>
</td>
</tr>
<%
}
%>
</table>
<input type="button" value="next" >
<input type="text" value="<%=status%>" name="val">
</form>
<script>
function next(){
cp =parseInt(document.form1.val.value);
cp++;
window.location="another.jsp?status="+cp;
}
</script>
</html>