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

Why are http servlets used in programming?

980


What do you mean by deployment descriptor?

993


How do we share data using 'getservletcontext ()?

996


Is tomcat a servlet container?

1003


Difference between get and post in java servlets?

1000


Is servlet synchronized?

1038


What are the functions of Servlet container?

1084


What is the life-cycle of servlets?

1117


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

1005


What is war file?

1046


What is the difference between forward () and sendredirect () functions in servlet? Explain

1008


What is a server side include (ssi)

1101


Explain the features are in servlet 3?

1029


Why the concept of single thread model interface is used?

956


What are advantages of servlets over cgi?

1067