Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


when the several requests comes to server..how it manage
the requests

Answers were Sorted based on User's Feedback



when the several requests comes to server..how it manage the requests..

Answer / goutham

When several requests comes to the server,I am assuming here
the requests coming to the same servlet,then the
webcontainer sees whether the Servlet is instantiated if it
is not the servlet is instantiated (only for the first time)
then a thread is spawned for each request and assigned to it.

*servlets does not implement singlethreadmodel , this
interface is depricated and hits the performance very
badly..instead of singlethreadmodel you can use sychronized
blocks(not methods)

Is This Answer Correct ?    15 Yes 0 No

when the several requests comes to server..how it manage the requests..

Answer / suresh mediboyina

When the request comes to IIS server,it can identify the
file extension by http handlers and send to Http modules
which can be processing the request send to http handlers,
this can send to browsers.

Is This Answer Correct ?    3 Yes 0 No

when the several requests comes to server..how it manage the requests..

Answer / malligontla

As the servlet is a single thread model, then the requests
will be served one by one. That’s the internal process by
the web container.

Is This Answer Correct ?    6 Yes 3 No

when the several requests comes to server..how it manage the requests..

Answer / siva thimmannagari

i think its only servlet and instance and multiple thread..

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Servlets Interview Questions

how JSP can extend servlet or interface ...?

3 Answers   IBM,


Can we use javascript in Servlets?

2 Answers   Wipro,


What happens, when client requests for server object, which is not yet loaded into the memory?

2 Answers  


Write a servlet to upload file on server.

0 Answers  


How to work with Chinese login page (internationalization).if he enters user name and password in chinese, how is it converted to English and validate in db? And in reverse it should display welcome message in Chinese,if user is valid

4 Answers   Bosch,


What is servlet name in web xml?

0 Answers  


Is there any need to shutdown the web server, if you want to modify a servlet?

3 Answers  


In servlets, Why do we need both GET and POST method implementations?

3 Answers   IBM,


What are the Internal servlets maintained by the web server?

1 Answers   Infosys,


Explain the lifecycle of a servlet?

0 Answers  


How does Cookies work in Servlets?

0 Answers  


What is HTTP Session ?

6 Answers  


Categories