I am aware of creating web application but there is one basic doubt I have.

I am sorry for asking very silly question but want to clear my doubt.

How Tomcat Container handle request, I mean to say when I send a request for home.jsp page then I get the response as home.jsp page only and not a register.jsp page which at the same time might be the request given by other person requested from other corner of the world.

Eg:

Client A --------request(a.jsp)----------> Tomcat (check request received for a.jsp and give proper a.jsp response to client A)

Client B --------request(b.jsp)----------> Tomcat (check request received for b.jsp and give proper b.jsp response to client B)

In this case, how does Tomcat not get confused between requester and response to correct requester.

How it works internally.

Some links which explain this will also be helpful.

Thanks.

Edit
Report