title: How To Do Pagination In JSP..?
body: <p>Please do not down rate my question, because i'm new for JSP/JavaEE..</p>
  
  <p>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..?</p>
  
  <p>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</p>
  
  <pre><code>request.setAttribute("Results", results_List);
  </code></pre>
  
  <p>then using request dispatcher, i'm loading my result showing jsp page like this.</p>
  
  <pre><code>RequestDispatcher rd = request.getRequestDispatcher("searchresults.jsp");
  rd.forward(request, response);
  </code></pre>
  
  <p>so tell me the next step to do pagination my search reslts..</p>