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 handle when client send multiple request at atime for
single servlet

Answer Posted / srinivas from inetsolv

By declaring printwriter objetct as an local variabel to the
service method.Doing like this every thread will hava a
seperate copy of printwriter object on its stack
space.Hence there is no problem for even though when we
have multiple requests for at a time for same servlet.

Is This Answer Correct ?    10 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the bundled validators?

963


What do you mean by struts.dev mode?

911


What is the purpose of struts.properties in struct2?

886


How can we work with error tags?

935


Are interceptors thread safe?

951


Can explain about the validations and in your project where did u used the validations?

7477


What is the purpose of @results annotation?

1202


What are action errors and error?

990


Difference between struts and spring?

1055


Are struts still used?

899


Are actions thread safe?

919


Give an example where struts tiles may be used?

959


What is the purpose of @typeconversion annotation annotation?

931


What are disadvantages of Struts?

965


How action mapping is configured in Struts?

1042