How will the HTTP request be served in servlet?
Can you please explain me how the HTTP request will be served i开发者_StackOverflow社区n servlet?
Every request get a new Thread to a instance of servlet. The servlet service methods DOGET OR DOPOST which takes the request and reads the request headers as to what all things a browser accepts. On the basis of request. The servlet creates a responses and send it to the client browser on the same thread.
精彩评论