title: Content-type json returns http 404
body: <p>In a 3rd party server when web application (serverside Struts 2)  with EXt-JS 4 makes a ajax request with <strong>content-type: application/json; charset=utf-8</strong>  webserver returns page not found http 404/403 status code. But if we make the same request with plain text/html via browser url bar then response received. What will be the problem.</p>
  
  <p>is there any way to simulate the request by sending in different content-type, i have tried below html form but it sends only <strong>Content-Type:application/x-www-form-urlencoded</strong></p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;form action="http://abc.com/abc?" method="post" enctype="application/json; charset=utf-8"&gt;
  
  &lt;input type='submit'/&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Can a server or tomcat can restrict particular content-type alone?</p>
  
  <pre><code>&lt;action name="abc" class="com.stutzen.rhs.abc.Abc" method="abc"&gt;
          &lt;interceptor-ref name="json"&gt;
              &lt;!--param name="contentType"&gt;application/json&lt;/param--&gt;
          &lt;/interceptor-ref&gt;
          &lt;result type="json"&gt;
              &lt;param name="excludeProperties"&gt;
                  data,model
              &lt;/param&gt;
          &lt;/result&gt;
      &lt;/action&gt;
  </code></pre>