title: How to find the entry point in a java web application to debug?
body: <p>I am trying to debug a java web application. I have configured tomcat in eclipse, added my application to tomcat and started the tomcat in debugging mode. </p>
  
  <p>Now, when the user performs any action on the web page, the request hits the server, goes through some java/tomcat classes and finally reaches our application code.</p>
  
  <p>If I know which of the application classes/methods will be executed, I can set a breakpoint and start debugging from there. But if I don't know which code will be executed, how can I set breakpoint?</p>
  
  <p>Basically I am trying to figure out which application class/method is executed when user performs an action on the page.</p>
  
  <p>I know I can set a breakpoint in the Servlet doGet/doPost method. But we are using struts and we have many more general servlets also. So it is difficult to set breakpoint in all of them.</p>
  
  <p>Please help.</p>