title: Servlet Profiling
body: <p>What is the best way to undertake Servlet profiling?</p>
  
  <p>In particular I am looking for a solution that can show the execution times of the method calls within the servlet.</p>
  
  <p>I am running the Servlet within a Tomcat environment.</p>
  
  <p>I have tried VisualVM but it only allows me to see the method calls from the Tomcat thread rather than the Servlets themselves.</p>