aspose file tools*
The moose likes JSP and the fly likes Need help in Data Paging/Pagination ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Need help in Data Paging/Pagination !" Watch "Need help in Data Paging/Pagination !" New topic
Author

Need help in Data Paging/Pagination !

Shikhar Vasisht
Greenhorn

Joined: Jul 24, 2011
Posts: 9
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

Joined: Jan 05, 2011
Posts: 6
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

Joined: Jul 24, 2011
Posts: 9
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

Joined: Jun 20, 2011
Posts: 89
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

Joined: Jan 10, 2002
Posts: 60057
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Need help in Data Paging/Pagination !
 
Similar Threads
Pagination
Pagination
Pagination
PAGINATION
page pagination