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 / yuvraj singh

SingleThreadModel is a marker interface. It is used to ensure that servlet handle only one request at a time.

Servlets can implement SingleThreadModel interface to inform the container that it should make sure that only one thread is executing the servlet’s service() method at any given moment.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell the new features added in servletrequest interface i.e. Servlet 2.4

1137


What is the default http method in the servlet?

1252


How we can call a jsp from the servlet?

969


What do you mean by request dispatcher in servlet?

1083


Why do we need a constructor in a servlet if we use the init method?

1004


When Servlet is unloaded?

1062


What are all the advantages of servlet over cgi?

1035


What are common tasks performed by Servlet Container?

1221


What do you mean by scope object and what are its types?

1036


What is the need of session tracking in web application?

990


What is servlet in simple terms?

988


What is http servlet? Explain with the help of an example.

1033


What is servlet attributes and their scope?

1011


Is it good idea to create servlet constructor?

1218


List some life cycle methods of a servlet.

1017