title: Tomcat doesn't allow PUT request
body: <p>I need to allow PUT request on Tomcat, installed through XAMPP. I found various answer on web but no one works for me. 
  I tried to add in my project web.xml this code:</p>
  
  <pre><code>&lt;security-constraint&gt;
  &lt;web-resource-collection&gt;
      &lt;web-resource-name&gt;allow&lt;/web-resource-name&gt;
      &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;http-method&gt;GET&lt;/http-method&gt;
      &lt;http-method&gt;POST&lt;/http-method&gt;
      &lt;http-method&gt;PUT&lt;/http-method&gt;
  &lt;/web-resource-collection&gt;
  &lt;!-- no auth-constraint tag here --&gt;
  </code></pre>
  
  <p></p>
  
  <p>I also tried to modify the server Tomcat web.xml:</p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;default&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.apache.catalina.servlets.DefaultServlet&lt;/servlet-     class&gt;
      &lt;init-param&gt;
          &lt;param-name&gt;debug&lt;/param-name&gt;
          &lt;param-value&gt;0&lt;/param-value&gt;
      &lt;/init-param&gt;
      &lt;init-param&gt;
          &lt;param-name&gt;listings&lt;/param-name&gt;
          &lt;param-value&gt;false&lt;/param-value&gt;
      &lt;/init-param&gt;
      &lt;init-param&gt;
          &lt;param-name&gt;readonly&lt;/param-name&gt;
          &lt;param-value&gt;false&lt;/param-value&gt;
      &lt;/init-param&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  </code></pre>
  
  <p>but every PUT still doesn't work. Tested on Postman the response status is 204 but the method isn't executed.
  Can you help me? </p>