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

How is the mvc design pattern used in struts framework?

966


Which design pattern is implemented by Struts2 interceptors?

1007


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2968


Can we integrate struts with spring?

1008


How you will enable front-end validation based on the xml in validation.xml?

1097


Are struts and shocks the same?

920


Explain about tiles?

1055


What are pull and push mvc architecture and which architecture does struts2 follow?

938


What is interceptor? And life cycle methods of interceptor?

1040


How does struts work?

972


How do struts work?

942


Why actionservlet is singleton in struts?

1019


What are the features of struts 2?

1072


When should we use SwtichAction?

1080


What are the advantages of spring mvc over struts mvc?

928