[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

Listing the Data using pure Struts logic

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

Manikandan
0
softrays
Asked:
softrays
  • 2
2 Solutions
 
suprapto45Commented:
Hi,

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

Regards
Dave

0
 
suprapto45Commented:
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now