I use and created JAMon for such things. It allows you to track
JDBC (execution time, hits, exceptions and more), page stats (execution time, hits, exceptions, http status codes, bytes sent, and more).
You should be able to set it up in a few minutes and it requires no code changes. You can also track stats associated with any of your Java code. You view the stats with the JAMon web application. Go to the JAMon website in my link below. In particular look at sections on HTTP monitoring and JDBC monitoring in the documentation.
There are also other open source java monitors. You should be able to find them by using Google or going to www.javaperformancetuning.com