title: How to find main method of dynamic web project in eclipse?
body: <p>I have created a dynamic web project in eclipse. Now I have a situation in which I need to start a thread while application gets started[Short of in main method].
  Now I searched the whole project for the class containing the main method. But I didn't get it.</p>
  
  <p>Like in web.xml </p>
  
  <pre><code>&lt;welcome-file-list&gt;
   &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt; 
  </code></pre>
  
  <p>Now I want to execute some code before index.jsp gets loaded..
  Thanks in advance...</p>