This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.