Web tier: servlets, JSP, Web frameworks: need help for dynamic pagination in jsp using beans

  1. i am unable to display the data in multiple pages. I am gettting data from the database from the javaBeans to jsp by vectors... but i am unable to displaying them in jsp 15 records per page... and also i have to give the option like pages 1,2,3,4.... when user clicks on 1(first page) means i have to display the first 15 records .. when on 2(second page) means i have to display the next 16th to 30th record.. like that so on... i need to implement in jsp.. If i get some example very much appreciated....
  2. Display tag will solve your problem.For that you need to give list as input. http://displaytag.sourceforge.net/11/
  3. See for example paging taglib in Coldtags suite: http://www.servletsuite.com/servlets/pagertag.htm
  4. core-Tag c:forEach[ Go to top ]

    Try the jstl-tags: begin and end might be filled with EL, too: where pager is a bean providing functionality for page browsing. Your links should call methods on that bean, like next(), first() etc. HTH, Michael.