This might be a simple questions. But I am looking for low level details which I dont find a clear answer for.
I have a simple jsp form with a name field on it. I post my name to the form and the servlet returns with the response "Hello Matt" (here the name is what I posted on the form).
Now I have many clients (different browsers and tabs) posting to the servlet and getting responses back. How does Tomcat (or any webserver) knows where to send the response back. That is how does each servlet thread knows to which client the response should be dispatched to? where does these information are maintained in Tomcat?
Thanks