File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Pagging Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Pagging Problem" Watch "Pagging Problem" New topic
Author

Pagging Problem

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 740
I am trying to correct my pagging


The output of this code is:
1 2 3 4 5 |>>Next

but when am clicking 5 then it displays:
5 6 7 8 9 10 |>>Next

and for next its changing like this:
6 7 8 9 10 11 |>>Next (means changing first placed number not calling next set of 5 digits)

I want that when its moving from page 5 to 6 then it show next set of 5 numbers from 6 7 8 9 10 11 and current page should be bold and so on

Thanks & best regards
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21

Also posted over at the Sun Java Forums: Pagging Code Problem


Steve
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61610
    
  67

Please let people know when you are cross-posting.

And, please take the time to choose the correct forum for your posts. This forum is for questions on intermediate Java. For more information, please read this.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61610
    
  67

I assume that this within a servlet?
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 740
Bear Bibeault wrote:I assume that this within a servlet?


You are seniors and could decide best


Any help/solution please

Thanks & best regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pagging Problem