Listing the Data using pure Struts logic

Posted on 2004-11-21
Last Modified: 2010-04-17
Hello Master,
I listed all the records from Database in to the single jsp page using struts logic. The records are kept in ArrayList. Now my next task is to list first 10 records from the database followed by Next and Previous link. If the user clicks Next link then the records from 10 to 20 should be listed. This logic should be implemented using without single java coding in the jsp page and by using only Struts code for it. Pls give the sample code for the same. It is very urgent.....

Thanks & Regards

Question by:softrays
    LVL 16

    Assisted Solution


    You can use PaginatedList in iBatis to do that. You can do search in If you want pure struts, I really cannot help you on that. Sorry :).


    LVL 16

    Accepted Solution


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    seriesUp challenge 7 81
    Replace a tag with sed 2 32
    groovy example issue 10 34
    python sqlite question 11 24
    A short article about a problem I had getting the GPS LocationListener working.
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now