title: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists error
body: <p><strong>Web.xml</strong></p>
  
  <p>Books Management</p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;BooksManagement&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;BooksManagement&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  
  &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;/student.jsp&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  </code></pre>
  
  <p>My controller is <strong>AddStudentController</strong></p>
  
  <pre><code>@Controller
  public class AddStudentController {
  
      @RequestMapping(value = "/student", method = RequestMethod.GET)
      public ModelAndView student() {
      return new ModelAndView("student", "command", new Students());
      }
  
      @RequestMapping(value = "/addStudent", method = RequestMethod.POST)
      public String addStudent(@ModelAttribute("SpringWeb") Students student,ModelMap model) {
      model.addAttribute("firstName", student.getFirstName());
      model.addAttribute("lastName", student.getLastName());
      model.addAttribute("id", student.getId());
  
      return "result";
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jZ3tM.png" rel="nofollow noreferrer">Folder Structure</a></p>
  
  <p>The origin server did not find a current representation for the target resource or is not willing to disclose that one exists error</p>