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

Is Servlet Class Thread safe?????? How to make servlet
Thread safe ???

Answer Posted / santhosh kandula


Yes, Servlet is thread safe, because the process of
servlet is request and response. whenever the request comes
then the server can respond. suppose at a time there more
request are came to the server in that which request is the
server can respond, in that time threads will be created
and based on priority of the thread response will be given
for the request.
So, servlets are thread safe.By using thread
properties we make the servlet Thread safe.

Is This Answer Correct ?    2 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the path of servlet in the server?

1008


What is the difference between portlet and servlet?

987


Why do we have servlet filters?

1021


What are the different types of servlets?

1007


What is setattribute in servlet?

1137


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1060


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

1010


What is the difference between get and post methods?

1038


Why is servlet used?

1166


What is the directory structure of web application?

980


What are the different session tracking techniques?

1192


How can you create a session in servlet?

1140


What is httpservlet class?

1140


What are the phases of a servlet life cycle?

1116


How can an existing session be invalidated?

1164