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

What do you mean by httpservlet and how it is different from the genericservlet?

992


How can I send user authentication information while making URL Connection?

943


Explain get and post.

1059


What are the benefits of using servlet over cgi?

982


What is the disadvantage of cookies?

949


What is the GenericServlet class?

1160


Why do we have servlet filters?

979


How does java thread pool work?

1023


Why doesn’t a servlet include main()?

987


What is dispatcher servlet?

1010


Difference between GET and POST?

1087


Whether we can get deadlock situation in servlets?

1012


Can you call a jsp from the servlet?

968


What do you mean by web applications? Explain web application directory arrangement?

919


What if you need to span your transaction across multiple servlet invocations?

1038