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 is the use of form bean in struts?

914


What are the steps used to setup dispatch action?

1040


What is container struts2?

993


What is the purpose of @customvalidator annotation?

998


What is the difference between requestaware and servletrequestaware interface?

1048


How do you create message resource?

1012


Can we integrate struts with spring?

1000


Name the different types of actions found in struts.

990


What is the struts in java?

934


How duplicate form submission can be controlled in struts?

1120


What is the use of lookupdispatchaction?

1020


Provide some important Struts2 constants that you have used?

1008


Can you explain the directory structure for a struts folder in brief ?

975


Are interceptors and filters different?

1043


Difference between html tags and struts specific html tags

903