This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Here is simple implementation Create a footer jsp, this jsp will three inputs 1. total number of pages 2. current page number as input. 3. target url In footer jsp, you can run a for loop, to print page numbers, all being hyper links to target url, current page number will not be hyperlink. This jsp can be used whereever u want to provide paging functionality.