Please do not down rate my question, because i'm new for JSP/JavaEE..
I looked so many tutorials about JSTL, Pagination, but i cannot get a proper idea to do Pagination.. Is there an esay way to perform Pagination..?
In my program, I retrieve records of search results from database using a java class and put them into a ArrayList and returns ArrayList to Servlet. Then assigns the received ArrayList object into an application attribute like this
request.setAttribute("Results", results_List);
then using request dispatcher, i'm loading my result showing jsp page like this.
RequestDispatcher rd = request.getRequestDispatcher("searchresults.jsp");
rd.forward(request, response);
so tell me the next step to do pagination my search reslts..