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 / niranjanravi

Single Thread Model ensures that servlet handles only one
request at a time.When YOUR CLASS IMPLEMENTS THIS INTERFACE
WE ARE GUARENTEED THAT no two threads run simultaneously in
service() method.
this is a marker interface which contains no methods on its
own.

Is This Answer Correct ?    53 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you find out what client machine is making a request to your servlet

1062


why we should override only no-agrs init() method.

1134


How to get the path of servlet in the server?

1013


What is the use of send redirect () method?

1094


What are the life cycle methods of a servlet?

1054


What are session variable in servlets?

1034


What are the kinds of http requests?

1043


Describe servlet?

1049


Explain how does JSP handle run-time exceptions?

1099


How can we invoke another servlet in a different application?

1220


How to find whether a parameter exists in the request object?

1112


Describe in brief RequestDespatcher?

1141


What are the new features added to servlet 2.5?

1101


What are its drawbacks of cgi?

1127


What is the directory structure of web application?

991