• Post Reply Bookmark Topic Watch Topic
  • New Topic

pagination in JSP

 
velgapudi suresh
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Everybody,

In my jsp page i have number of records so i want to display it 50 per page can you give any tag is use it .

Thanks & regards
Suresh.V
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your business logic should send data in chunks so that the JSP page can display them in segments. There is no single tag that can do this for you. You also need to make sure your servlets ( or actions ) cache the results for better performance
 
Prabhu Venkatachalam
Ranch Hand
Posts: 502
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this thread.
is this solve your problem? If not, there is pagination support in JSTL library.Try <sql:query>. Have a look at this URL
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
ganesh pol
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use display tag libs

we can do pagination in jsp with help of it

http://displaytag.sourceforge.net/10/install.html

http://www.coderanch.com/t/291051/JSP/java/display-tag-pagination
[ November 24, 2006: Message edited by: ganesh pol ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!