title: Every HTTP request uses a separate TCP connection
body: <p><strong>Observations:</strong></p>
  
  <ul>
  <li><p>My web app is running in JBoss. </p></li>
  <li><p>Every single user-click generates >5 HTTP requests because of images etc.  </p></li>
  <li><p>Running netstat on the server reveals that a new TCP connection is being opened for every single HTTP request (basically I am looking at the total number of TCP connections from the client IP on port 80).</p></li>
  </ul>
  
  <p><strong>Facts:</strong></p>
  
  <ul>
  <li><p>JBoss HTTP protocol is set at 1.1.</p></li>
  <li><p>I have checked with FF, IE9 and Chrome - and all browsers do the same. </p></li>
  <li><p>I have two test environments - one running on Windows7 and the other one running on CentOS. I see the same behavior in both.</p></li>
  </ul>
  
  <p><strong>What I am trying to accomplish</strong></p>
  
  <ul>
  <li>Persistent TCP connection, because hopefully that would a) enhance user experience and b) reduce load on the server</li>
  </ul>
  
  <p>At this point, I am not sure what code, configuration details or log I should attach to the question, but if you let me know, I will provide it. Any kind of help is appreciated.</p>
  
  <p>p.s. This thread seemed promising from the title <a href="https://stackoverflow.com/questions/5459162/tcp-connection-is-not-reused-for-http-requests-with-httpurlconnection">TCP connection is not reused for HTTP requests with HttpURLConnection</a>, but it deals mainly with the client side. </p>