• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Implementing Pagging in JSP

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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

 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the article, really intresting

 
Antriksh Verma
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 .
 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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...
 
Antriksh Verma
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
.. Quite good link seetharaman venkatasamy .

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


 
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
why dont you try pager-taglib , its a open source and it is very easy to implement
 
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic