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.
You will have to read up on filters. What you want to do is associate a filter with a particular reesource (servlet/JSP), and have that filter increment a count and log it whenever the resource is accesed.
You can also achieve this without using a filter, by having the resource itself do the logging.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley