title: HTTP Status 404 - Not Found on call of Servlet
body: <p>I am getting HTTP Status 404 when i call Servlet from JSP page.</p>
  
  <p><strong>Here is web.xml :</strong></p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;Register&lt;/servlet-name&gt;
      &lt;servlet-class&gt;servlets.dataio.registration.Register&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Register&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/Register&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p><strong>Here is effective code of JSP:</strong></p>
  
  <pre><code>&lt;form name="admin-form" action="Register" method="POST"&gt; 
  </code></pre>
  
  <p><strong>Error message:</strong></p>
  
  <pre><code>HTTP Status 404 - Not Found
  
  type Status report
  
  message: Not Found
  
  description: The requested resource is not available.
  </code></pre>
  
  <p><strong>Directory structure is:</strong></p>
  
  <pre><code>Web Pages --&gt; Pages --&gt; Registration --&gt; registerpage.jsp
  </code></pre>
  
  <p>I have tried Clean and Building project.
  I am using NetBeans IDE and GlassFish server</p>