wood burning stoves*
The moose likes JSP and the fly likes Implementing Pagging in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Implementing Pagging in JSP" Watch "Implementing Pagging in JSP" New topic
Author

Implementing Pagging in JSP

Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hi Fellas ..

Please suggest me how to implement paging in JSP.

I tried to implement display tag .. since im very new in using it ,iam not getting how to start with it .I mean to say when i fetch records from database , how should i connect to display tags.
Whats the role of JSTL in it ..is display tag is part of JSTL.

A good tutorial or some example may help me out . Which tags to use in starting of JSP file n Why ? Assume iam a starter to JSTL & display tags. Please help me out !!

Regards
Antriksh
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56

one more thing about display tag , after downloading displaytag-1.2-bin from [As most of peoples suggest display tags is best solution to paggination!! ]

Document address me that , in bin will include following files :
displaytag.jar , displaytag.tld , displaytag.war

but displaytag.tld is missing , how will i implement the same

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Antriksh Verma wrote:A good tutorial or some example may help me out .


Generally Paging needs your own logic .i am not sure about display tag . i done paging(i restrict the data using DB query) in my project and page navigation and all depends on your requirement(you need to put your logic here, beleive me , it is intresting ) .

Look this article
Hs Arun
Greenhorn

Joined: May 01, 2008
Posts: 14
Thanks for the article, really intresting

Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Thanks seetharaman venkatasamy .

But please have a look on
http://displaytag.sourceforge.net/1.2/

Its something .. more good and provides high-level web presentation patterns .
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Antriksh Verma wrote:

Its something .. more good and provides high-level web presentation patterns .


I agree, But do you really need that much of facility in paging ? because, I started with display tag, but didn't succeed in implementing it. So I just refer this forum, I found this good thing to start. And it's fun when you implement all the backend-front end things by doing it with basic and core technology, like EL...


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
.. Quite good link seetharaman venkatasamy .

Any Example of same [paggination] will be of great help to me .


RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
why dont you try pager-taglib , its a open source and it is very easy to implement


If you want something you never had do something which you had never done
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing Pagging in JSP