Ans:A HTTP request is sent by the browser over internet connection and when request comes to tomcat(servlet container) it allocates a thread from thread pool to serve based on URL mapping of servlet. Because tomcat has the URL mapping of all the servlet . thread from thread pool initialize object of servlet ,calls its service method, generate and send response .then thread goes back to the pool ,ready to serve another request from the client.
Subscribe to:
Post Comments (Atom)
Javascript module
JavaScript Modules (ES6) let you split code into multiple files and reuse code cleanly. Main keywords: export → make something available...
-
Function expression: Expression will return a result immediately . ex:2+3 will return 5.so this is a expression. similarly , assume a funct...
-
Constructor is the blueprint to create object .Here person is the constructor from which we can create objects. jane,mark and john are the...
-
javascript is a prototype based programming language that means inheritance is possible by using prototype.Every object has this prototype...

No comments:
Post a Comment