I have successfully implemented your excellent pager code.
However, your index displays links to all the pages. If there are 128 pages, your index is from 1 to 128.
Can you modify your code to display index from 1 to 10 and on clicking next, from 11 to 20 etc. I have tried to modify your code without any appreciable result. Unfortunately, my java coding skills are not as sharp!
I shall be in Bombay in Jan 2009. Maybe we can meet up then.
Regards and thanks,
Jimmy Wadia (firstname.lastname@example.org