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

When wil use singleton class in Struts

Answer Posted / avani

Struts will create a single instance of the Action and
allow multiple threads to invoke execute(). This allows for
faster request processing, as the framework is not
continually creating new Action instances to handle each
request. But because a single object is shared between
multiple threads, you must observe proper threading
considerations, as other threads are likely to pummel
instance variables that hold state in the action.

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s the utilization of struts.xml configuration file?

894


What is discontinuous strut?

883


What is execute method in struts?

884


Where can I get a copy of struts?

896


What is struts xml?

794


What is Struts2?

1012


What types of validations are available in xml based validation in struts2?

975


What do you mean by a custom tag?

897


What is actionmapping?

1039


What is the purpose of @result annotation?

1081


What is the use of namespace in action mapping in Struts2?

1008


How to convert struts to spring mvc?

942


What is interceptor struts2?

938


Difference between html tags and struts specific html tags

862


What is action servlet in struts?

917