title: Servlet - Tomcat Path
body: <p>I have a problem with my servlet engine i.e. Tomcat.  I am using Windows-7 as my OS.    I have installed my Tomcat into this folder C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0.</p>
  
  <p>I have set my classpath to following:</p>
  
  <p>C:>SET CLASSPATH="C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\lib\servlet-api.jar"</p>
  
  <p>For running the servlet application i compiled my servlet program and generated the class file. I can easily compile my programs and get a class files.</p>
  
  <p>But when i try to run the tomcat <a href="http://localhost:8080/" rel="nofollow">http://localhost:8080/</a> it gives me the status code 404 - File not Found..Why so?? </p>
  
  <p>Thanks.. </p>