title: Request method 'PUT' not supported
body: <p>I'm working with springboot angularsjs and restful.</p>
  
  <p><strong>my rest controller</strong></p>
  
  <pre><code>@RequestMapping(value="/updatestructure/{ch}",method = RequestMethod.PUT)
  public @ResponseBody Structurenotification updateStructure(@PathVariable(value="ch") StructureNotificationDto ch) {
      return StructureNotif.update(ch);
  }
  </code></pre>
  
  <p><strong>the button</strong></p>
  
  <pre><code>$scope.addstructure = function() {
        $http.put('/structure/updatestructure/', $scope.element);
  };
  </code></pre>
  
  <p>But I get this problem :</p>
  
  <blockquote>
    <p>o.s.web.servlet.PageNotFound: Request method 'PUT' not supported</p>
  </blockquote>