title: Not able to run a simple JSP program in Eclipse with Tomcat server 7 in browser
body: <p>I have written the following code in Eclipse, and store this file in this location: <code>tomcat/webapps/jsp/sample.jsp.</code></p>
  
  <p>I have also included the Sub directories WEB-INF and classes and lib in this jsp folder. </p>
  
  <p>And I have given this url in the google chrome browser first time and next time in Internet Explorer both shows the  404 error with description: </p>
  
  <blockquote>
    <p>The requested resource(/jsp/sample.jsp) is not available**.</p>
  </blockquote>
  
  <p>My code is:</p>
  
  <pre><code>&lt;%@ page language="java" import="java.io.*" contentType="text/html; charset=ISO-8859-1"
          pageEncoding="ISO-8859-1"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
          &lt;title&gt;Insert title here&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
      hello
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thank you sir, here are the steps;<br>
  1. Tomcat is installed in c:\Program files\Apache\tomcat 7.0\  </p>
  
  <ol>
  <li><p>I am using Eclipse helio zip file and extracted that in c:\eclipse... </p></li>
  <li><p>Then I have followed the steps from "http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html" to set up server in eclipse.</p></li>
  </ol>
  
  <p>4.Then I start the jsp file from "file->new->other->wizard->web->jsp  file. Then I open the jsp file in the eclipse editor.               </p>
  
  <ol>
  <li><p>After that I start the [tomcat7.0 server at localhost]      </p></li>
  <li><p>I save the file and copy the jsp file from the eclipse workspace and paste it in the webapps folder.</p></li>
  </ol>
  
  <p>these were the steps I have followed.                  </p>
  
  <p>can you help me sir. </p>