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...

What is Single Threaded Model in Servlets? Explain this
with an example?

Answer Posted / nishant

Single thread model is generally not used because it
increases the burden and overhead on the container because
it has to make new instance of the servlet for each and and
every new request.
Sometimes we need to achive the Single thread model in
order to secure our web-application.

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the role of dispatcherservlet and contextloaderlistener.

1172


What is the difference between encodeRedirectUrl and encodeURL?

1098


What do you mean by filter in servlet?

984


What is meant by session? Tell me something about httpsession class?

993


What is the need of servlet filters?

992


What is servlet invoker?

1022


How does Cookies work in Servlets?

1156


How to get the IP address of client in servlet?

1064


What is the need of session tracking in web application?

1010


How do you deal property files in servlet?

1044


Which are the different ways you can communicate between servlets?

984


What is the use of request dispatcher interface?

997


Whether thread can be used in servlets?

1191


How to handle exceptions thrown by application with another servlet?

1073


What is life cycle of Servlet?

1056