title: Why am I getting 404 Bad Gate Way Error?
body: <p>I am doing a struts 2 program and I have a form like below. I set the value of 'listData' using jquery and it will be a long JSON string and may have 3184 or more characters.</p>
  
  <pre><code>&lt;s:form action="myAction" method="post" id="hiddenForm"&gt;
      &lt;s:hidden name="listData" /&gt;
  &lt;/s:form&gt;
  </code></pre>
  
  <p>On submitting the form I am getting below error :</p>
  
  <p>HTTP Status 404 - /appNameerror/HTTP_BAD_GATEWAY.html.var</p>
  
  <p>Any idea why is it happening ?</p>
  
  <p><strong>For info :</strong> I am converting a big form into json string and setting the value to hidden form and submitting. If I submit 10 rows of data (~3184 char json), 7 rows are getting saved after parsing json string and remaining 3 may not save and I get above error. If I submit 5 rows of data. Everything works fine and I won't get any error.</p>
  
  <p><strong>Environment :</strong> I am using Apache as web-server and Tomcat 7.x is acting as application server. Application is deployed in tomcat. All the request from the client are received by web-server and will be redirected to the tomcat server.</p>