This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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