Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6106679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:06:20+00:00 2026-05-23T14:06:20+00:00

From the time I started working with JavaEE, I’ve made ​​my way paginating a

  • 0

From the time I started working with JavaEE, I’ve made ​​my way paginating a list in the .jsp, but I have seen many of Java developers are using display tag library, why, I don’t know, as I know display tag library gets the whole list in the page, and only then will process it, and if you still have thousands of entries in the database? what about that? and finally what are the cons and pros of this library?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:06:21+00:00Added an answer on May 23, 2026 at 2:06 pm

    The tag works with the list of result you give it. It can be results for a page or the entire list which it splits in multiple pages. It is not called a display tag by chance, it actually displays the data you provide it with.

    If you have thousands of entries in the database its your job to manage them, not the tag’s. The display tag is just a tool. You can use it or look for another tool.

    And finally what are the cons and pros of this library?

    The display tag (any server tag actually) is used to limit the amount of boiler plate code you have to write for yourself in order to get the job done.

    Write the code your way, then write the code using the display tag. Which one is shorter? The display tag’s will be.

    If you write a paginating table once in a full moon you don’t really see the benefit, but if you write lots of tables then at some point the time will start to add up. The library use means less boilerplate code to write and it doesn’t add up as much (i.e. it’s faster to write).

    One other important thing the tag introduces is consistency. If all the developers use the display tag then all will have an easy time working on each other’s code. Trust me, I have worked with both the display tag and with no display tag. It was a jungle without it. Every developer had its style of creating the pagination, managing interactions at the server, scriptlets all around… it was crazy!

    I’m not saying it’s the Holly Grail of paginating tables (for example I don’t use it in one of my pet projects although I have lots of tables to display. But I do have my own custom tag especially designed for my specific purposes which brings me the speed and consistency).

    You are not obliged to use the display tag but it is a pretty good library, lots of configurations too. So try reading it’s documentation before making a decision.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been a long time user of R and have recently started working with
I have recently started working on my master thesis in C that I haven't
I'm working on some code where I have a Time object with a member
Recently we started working with Database project in Visual Studio 2010. I have added
I'm new to working on a Mac and have had Time Machine backing up
I just started working for the first time with a product that's delivered via
I've just started working with SQL Server for the first time and I'm having
I started working on Django 1.0 Web Site Development and have gotten my server
i have started learning something about log4j as so far its working fine here
I started short time ago with JSP, JSTL, HTML and JavaScript so here is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.