title: SPRING MVC post method call not working
body: <p>By JSP has below :</p>
  
  <pre><code>&lt;h2&gt;Student Information&lt;/h2&gt;
  &lt;form:form method="POST" action="/HelloWeb/addStudent"&gt;
     &lt;table&gt;
  </code></pre>
  
  <p>and my java controller code has below </p>
  
  <pre><code>@RequestMapping(value = "/addStudent", method = RequestMethod.POST)
      public String addStudent(@ModelAttribute("SpringWeb") Student student,
              ModelMap model) {
  </code></pre>
  
  <p>when i try to hit the post doesnt work i,e /HelloWeb/addStudent,
  I tried making both places /HelloWeb/addStudent or just /addStudent that doesnt work.</p>
  
  <p>FYI : HelloWeb here is the DispatchServletName given in web,xml</p>
  
  <p>I am trying example given in site 
  <a href="http://www.tutorialspoint.com/spring/spring_mvc_form_handling_example.htm" rel="nofollow">http://www.tutorialspoint.com/spring/spring_mvc_form_handling_example.htm</a></p>
  
  <p>I apologize if i am asking very basic easisest issue, BUt tried this @ late nite and fed up so requesting ppl to help/suggest</p>