title: How Tomcat handles multiple requests
body: <p>I am aware of creating web application but there is one basic doubt I have.</p>
  
  <p>I am sorry for asking very silly question but want to clear my doubt.</p>
  
  <p>How Tomcat Container handle request, I mean to say when I send a request for <em>home.jsp</em> page then I get the response as <em>home.jsp</em> page only and not a <em>register.jsp</em> page which at the same time might be the request given by other person requested from other corner of the world.</p>
  
  <p>Eg:</p>
  
  <pre><code>Client A --------request(a.jsp)----------&gt; Tomcat (check request received for a.jsp and give proper a.jsp response to client A)
  
  Client B --------request(b.jsp)----------&gt; Tomcat (check request received for b.jsp and give proper b.jsp response to client B)
  </code></pre>
  
  <p>In this case, how does Tomcat not get confused between requester and response to correct requester.</p>
  
  <p>How it works internally.</p>
  
  <p>Some links which explain this will also be helpful.</p>
  
  <p>Thanks. </p>