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

How to make servlet thread safe?

Answer Posted / a.srinivs rao

in order to make a servlet thread safe we have to declare
the non-sharable variales inside the init method,and
sharble at the servlet class leve.

Is This Answer Correct ?    2 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How a servlet is unloaded?

1135


What does the term localization refer to?

1181


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

1119


What’s the difference between genericservlet and httpservlet?

1193


What is the use of request dispatcher interface?

1055


What's the advantages using servlets than using cgi?

1047


Why the concept of single thread model interface is used?

1050


What is the use of servlet wrapper classes?

1241


What are common tasks performed by Servlet Container?

1315


How many servlet objects are created?

1117


What is java servlet?

1110


What are the types of servlet?

1380


What are the disadvantages of storing session state in cookies?

1193


Why doesn’t a servlet include main()? How does it work?

1215


Which is better jsp or servlet?

1103