Bookmark Topic Watch Topic
  • New Topic

plz help me

 
adam france
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi

In my program resultset contain more than 30 records.

I want to display 20 records and first page contain 10 records and second page contain 10 records.

The results should be shown in two pages with the index Page 1 of 1 or Page 1 of 2.

Suppose If there are less than 10 results, do not show the Page Index.

plz send me code.
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Report post to moderator
Adam,

Welcome to JavaRanch.

This sounds suspiciously like a homework assignment.

Why don't you try to solve it and ask specific questions if you get stuck.

I'm sure someone will be willing to help you debug your code.

Regards.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64994
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
adam, please read this.

Also, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
    Bookmark Topic Watch Topic
  • New Topic