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.
Most enterprise level web servers / application servers natively provide such statistics. There are ways you could do such on your own via custom code, but it would be a pretty involved subject for a discussion forum like this. You might try doing some google searches on the subject. Also some of the better Servlet/JSP books out there might have a discussion on the subject. You may want to spend the afternoon at a good bookstore and flip through some books looking for ideas.