title: 404 - Not Found Error RequestDispatcher jsp forward
body: <p>I am trying to forward a Servlet to a JSP and I get this error when I click on the button that calls the doGet() that forwards into the JSP</p>
  
  <blockquote>
    <p>Type Status Report</p>
    
    <p>Message /servlet/crossfit/WOD</p>
    
    <p>Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</p>
  </blockquote>
  
  <p>This is my Servlet code:</p>
  
  <pre><code>RequestDispatcher rd getServletContext().getRequestDispatcher("/app/crossfit/amrap.jsp");
          rd.forward(request, response);
  </code></pre>
  
  <p>This is the mapping in my web.xml file</p>
  
  <pre><code> &lt;servlet&gt;
      &lt;servlet-name&gt;WOD&lt;/servlet-name&gt;
      &lt;description&gt;Handle the workout generator and saver&lt;/description&gt;
      &lt;servlet-class&gt;servlet.activity.crossfit.WOD&lt;/servlet-class&gt;
  &lt;/servlet&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;WOD&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/servlet/activity/crossfit/WOD&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &gt; &lt;servlet-mapping&gt;
  &gt;         &lt;servlet-name&gt;AmrapServlet&lt;/servlet-name&gt;
  &gt;         &lt;url-pattern&gt;/app/crossfit/amrap.jsp&lt;/url-pattern&gt;
  &gt; &lt;/servlet-mapping&gt;
  
  
  &gt; &lt;servlet&gt;
  &gt;     &lt;servlet-name&gt;AmrapServlet&lt;/servlet-name&gt;
  &gt;     &lt;jsp-file&gt;/app/crossfit/amrap.jsp&lt;/jsp-file&gt; &lt;/servlet&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/gwKIc.png" rel="nofollow noreferrer">Project Structure</a></p>