File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help in Data Paging/Pagination !

 
Shikhar Vasisht
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have gone through many data paging/pagination tutorials over the internet. But i do not have the knowledge of beans and also i know very little about JSTL.

Are both of these important to understand data paging/pagination?

if not can someone please help me in implementing it. I have knowledge of jsp, servlet and jdbc etc.

Also, i am looking for dynamic paging (new request to database every time to fetch rows).

I simple want to fetch rows from database and display them in jsp using data paging/pagination technique.

Is there any simple way of implementing it?? (without or little knowledge of beans and JSTL)

Thanks.
 
Lalit Jugran
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shikhar Vasisht,

try to create your own paginator with your logic. like don't display the whole result on jsp at a time, fetch the data from database based on some parameter(as no. of record to display, start index, last index).

 
Shikhar Vasisht
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lalit Jugran,

Thanks for the prompt reply.

However, i am totally new to JSTL and Beans.

You suggested me to create the paginator, but is it a tag or what?

I need guidance on this man.

If you can tell me how to create the paginator and then how to use it in the jsp, it would be beneficial.

If you can provide some sample code, it would be highly appreciated.

Thanks
 
Tarun Bolla
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...I have written a blog entry regarding this...Please go through it....
http://tarunkb.blogspot.com/2011/04/i-need-some-paginating-for-my-long-list.html
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64182
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
However, i am totally new to JSTL and Beans.

These are both essential technologies to understand in order to do anything in JSP. Do not just blunder ahead without learning these very important technologies.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic