title: Spring,Request method 'POST' not supported
body: <p>First of all say apology to ask this repeated Question..</p>
  
  <p>Actually in my spring Application i have <code>user.jsp</code> and <code>professional.jsp</code></p>
  
  <p>here is my User.jsp:</p>
  
  <pre><code>  &lt;form:form action="profile/user" modelAttribute="profile"&gt;
      &lt;div&gt;
          &lt;jsp:include page="professional.jsp"&gt;&lt;/jsp:include&gt;
      &lt;/div&gt;
  
  &lt;/form:form&gt;
  </code></pre>
  
  <p>And here is my professional.jsp:</p>
  
  <pre><code>   &lt;%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%&gt;
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%&gt;
  
  &lt;fieldset id="profile_proffiesional"&gt;
      &lt;form:form action="profile/proffiesional" modelAttribute="PROFESSIONAL" method="POST"&gt;
          &lt;p&gt;
              &lt;label for="position"&gt;Position&lt;/label&gt;
              &lt;form:input path="position" tabindex="4" /&gt;
          &lt;/p&gt;
          &lt;p&gt;
              &lt;label for="location"&gt;Location&lt;/label&gt;
              &lt;form:input path="location" tabindex="5" /&gt;
          &lt;/p&gt;
          &lt;p&gt;
              &lt;label for="description"&gt;Description&lt;/label&gt;
              &lt;form:input path="description" tabindex="5" /&gt;
          &lt;/p&gt;
          &lt;p&gt;
              &lt;input type="submit" value="Add"&gt;
          &lt;/p&gt;
      &lt;/form:form&gt;
  &lt;/fieldset&gt;
  </code></pre>
  
  <p>And here is my Controller class:</p>
  
  <pre><code>    @Controller
  @RequestMapping(value = "profile")
  public class UserProfileController {
  
      @Autowired
      private UserService userService;
  
      @Autowired
      private SessionData sessionData;
  
      @RequestMapping(value = "user", method = RequestMethod.GET)
      public String user(Model model) throws Exception {
          model.addAttribute("PROFESSIONAL", new UserProfessionalForm());
          model.addAttribute("EDUCATIONAL", new UserEducationalForm());
          model.addAttribute("AWARDS", new UserAwardsForm());
          return "profile/user";
      }
  
      @RequestMapping(value = "proffessional", method = RequestMethod.POST)
      public @ResponseBody
      String forgotPassword(UserProfessionalForm professionalForm,
              BindingResult result, Model model) {
  
          UserProfileVO userProfileVO = new UserProfileVO();
          userProfileVO.setUser(sessionData.getUser());
          userService.saveUserProfile(userProfileVO);
          model.addAttribute("professional", professionalForm);
          return "Your Professional Details Updated";
      }
  }
  </code></pre>
  
  <p><code>Problem</code> is when we are Click <code>Add</code> button in <code>professional.jsp</code>, there is no response in server console but below warning message shown:</p>
  
  <pre><code>  29 Mar, 2013 1:03:51 PM org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver handleHttpRequestMethodNotSupported
  WARNING: Request method 'POST' not supported
  </code></pre>
  
  <p>Why this Warning coming? i'm already specified method="POST"..</p>
  
  <p>Please help..</p>