title: Can't find servlet in jetty
body: <p>I am really struggling to figure out why I can't get to my servlet when submit my form. I have tried changing the path in the xml multiple times and edited the servlet code, but my browser still can't find my servlet when I submit the form.</p>
  
  <p>Here is the web.xml:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;web-app&gt;
  
  
  &lt;servlet&gt;
  &lt;servlet-name&gt;quizServlet&lt;/servlet-name&gt;
  &lt;servlet-class&gt;quiz&lt;/servlet-class&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;quizServlet&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/quiz&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>I have also tried having form3/quiz be the url-pattern.</p>
  
  <p>Here is the simple servlet:</p>
  
  <pre><code>import javax.servlet.*;
  import javax.servlet.http.*;
  import java.io.*;
  
      public class quiz extends HttpServlet {
          public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
          {
          response.setContentType("text/html");
          PrintWriter out = response.getWriter();
          out.println("&lt;html&gt;&lt;body&gt;");
          String grade = request.getParameter("grade");
          out.println("grade=" + grade);
          out.println("&lt;/body&gt;&lt;/html&gt;");
          out.close();
      }
  
  }
  </code></pre>
  
  <p>And here is the html:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  Quiz
  &lt;form method='post' action='quiz'&gt;
      grade&lt;input type='text' name='grade'&gt;
  &lt;input type='submit'&gt;&lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>index.html is contained in webapps/simpleForms/form3, web.xml is in webapps/simpleForms/form3/WEB-INF and quiz.java is in webapps/simpleForms/form3/WEB-INF/classes and is compiled.</p>