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

Is java servlet still used?

994


What is the difference between context parameter and context attribute?

968


What do you mean by session tracking and also explain its techniques?

898


Are Servlets Thread Safe? How to achieve thread safety in servlets?

917


What is the workflow of a servlet?

1117


Difference between forward() method and sendredirect() method ?

981


What is the directory structure of web application?

923


Can you refresh servlet in client and server-side automatically?

1027


Can we use threads in Servlets?

1078


What is httpservlet class?

1053


Explain the methods of request dispatcher in servlet?

981


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1024


What is new in ServletRequest interface ? (Servlet 2.4)

963


What is the use of java servlet api?

975


How to generate the server side programming and the advantages of it over the other languages?

938