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

Are Servlets by default thread safe or not?

thanks in advance
regards
Sudhakar

Answer Posted / naresh

Yes By Default Servlets Are ThreadSafe.....
If you use Insatance VAriables then only Servlets is having Thread Related Problems
Thats way dont recommended to use Instance VAriables in servlets...Its DAnagerous

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why we should override only no-agrs init() method.

1118


What is Servlet API used for connecting database?

1085


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1083


How do you deal property files in servlet?

1043


How to get the actual path of servlet in server?

1202


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

1083


How do you create a cookie using servlet?

1149


What is cookies in servlet with example?

1102


How do cookies work in servlets?

1030


Can we override servlet service method?

1072


What is Request Dispatcher?

1414


What are important features of Servlet 3?

1081


How do I know if java is running on linux?

1097


Explain mvc pattern.

993


Why HttpServlet class is declared abstract?

1197