title: Unable to run Web project on eclipse on tomcat server
body: <p>i have made a small web application with <code>form.html</code> in the <code>WebContent/WEB-INF/Form.html</code> location</p>
  
  <p>There are <code>servletOne.java Servlet.java</code>, <code>Icecream.java</code> in the <code>src</code> folder of my project named "ApplicaitonOne"</p>
  
  <p><strong>Form.html</strong></p>
  
  <pre><code>&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;
  &lt;form id="form1" name="form1" method="post" action=""&gt;
    &lt;p&gt;&lt;kbd&gt;SELECT VALUE&lt;/kbd&gt;&lt;/p&gt;
    &lt;p&gt;
      &lt;label&gt;
        &lt;input type="radio" name="RadioGroup1" value="Vanilla" id="RadioGroup1_0" /&gt;
        Vanilla&lt;/label&gt;
      &lt;br /&gt;
      &lt;label&gt;
        &lt;input type="radio" name="RadioGroup1" value="Chocolate" id="RadioGroup1_1" /&gt;
        CHocholate&lt;/label&gt;
      &lt;br /&gt;
      &lt;label&gt;
        &lt;input type="radio" name="RadioGroup1" value="Strawberry" id="RadioGroup1_2" /&gt;
        Strawberry&lt;/label&gt;
      &lt;br /&gt;
    &lt;/p&gt;
    &lt;p&gt;
      &lt;input type="submit" name="Submit" id="Submit" value="Submit" /&gt;
      &lt;br /&gt;
    &lt;/p&gt;
  &lt;/form&gt;
  &lt;p&gt;&amp;nbsp;&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>web.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
      http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
      &lt;display-name&gt;ApplicationOne&lt;/display-name&gt;
      &lt;welcome-file-list&gt;
  
          &lt;welcome-file&gt;Form.html&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  
      &lt;servlet&gt;
      &lt;servlet-name&gt;ServletOne&lt;/servlet-name&gt;
      &lt;servlet-class&gt;com.example.ServletOne&lt;/servlet-class&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;ServletOne&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/Welcome&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;session-config&gt;
      &lt;session-timeout&gt;
      15
      &lt;/session-timeout&gt;
      &lt;/session-config&gt;
  
      &lt;context-param&gt;
      &lt;param-name&gt;flavour&lt;/param-name&gt;
      &lt;param-value&gt;Choclate&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;listener&gt;
      &lt;listener-class&gt;
      com.example.ServletInt
      &lt;/listener-class&gt;
      &lt;/listener&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>When running project as server, I get: </p>
  
  <blockquote>
    <p>address in address bar: <a href="http://localhost:8080/ApplicationOne/" rel="nofollow">http://localhost:8080/ApplicationOne/</a><br>
     HTTP Status 404 - /ApplicationOne/<br>
     type Status report<br>
     message /ApplicationOne/<br>
     description The requested resource (/ApplicationOne/) is not available.<br>
     Apache Tomcat/5.5.31</p>
  </blockquote>
  
  <p>When running <code>form.html</code> as server, I get:</p>
  
  <blockquote>
    <p>address in address bar: <a href="http://localhost:8080/ApplicationOne/WEB-INF/Form.html" rel="nofollow">http://localhost:8080/ApplicationOne/WEB-INF/Form.html</a><br>
     HTTP Status 404 -<br>
     type Status report<br>
     message<br>
     description The requested resource () is not available.<br>
     Apache Tomcat/5.5.31</p>
  </blockquote>