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

multiple instances for action class is it possible

Answer Posted / thirupathaiah

It is possible by making the action class as singletone but
the thing is it is not good aproach if we make it singleton
then while handling the multiple requests for each request
a seperate instance will be created, according to this
waste of memory and for each request action class life
cycle is defferent so do't go for making action as a
singleton

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many struts config file can be created in struts?

894


How can we display validation errors on jsp page?

1010


Explain about tiles?

1042


What is interceptor in Struts2?

966


What are the steps of struts installation?

1006


What are the steps involved in creating a strut application?

953


What are the struts2 error message keys that can come during file uploading process?

1072


What is the purpose of action-mappings tag in struct-config.xml?

956


What is the purpose of @customvalidator annotation?

996


What is the purpose of '@keyproperty'?

1027


What are the struts2 configuration properties that control file uploading process?

1135


Explain design patterns which is used in struts?

970


Describe the two types of formbeans.

1000


What are the features of struts 2?

1046


Can we have multiple struts config files in a single web app?

940