title: Apache Tomcat server isn't working when running Dynamic Web Application in Eclipse
body: <p>I want to add server to Eclipse which is Apache Tomcat 7.0 for running my web application but every time it is giving Error 404. I have tried all the solutions given on stack overflows other posts I will tell you what procedure I have followed:</p>
  
  <ol>
  <li>I have downloaded windows installer for Apache tomcat and installed it.</li>
  <li>I Placed a JAVA_HOME environment variable whose path is to the installed JDK.</li>
  <li>Then in Eclipse: Window -> Preferences -> Server -> Add, I have added that server by giving the path up-to Apache bin folder.</li>
  <li>Then I checked the build path of my project.</li>
  </ol>
  
  <p>Firstly, it's giving the error that port no. is already in use, so I changed the port no. Secondly, it is giving Apache tomcat is already started. So I stopped it manually and started from Eclipse.</p>
  
  <p><strong>The URL is <em>proper</em>, I have checked it. And I have also given the URL manually. I have also created <code>index.jsp</code></strong> </p>
  
  <p>Now when I am running that project it is giving Error 404 . Requested file not found.</p>