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

Where can I get a copy of struts?

999


What is meant by custom tags?

1020


What is the purpose of @doublerangefieldvalidator annotation?

1081


Provide some important Struts2 constants that you have used?

1051


What does the term struts mean?

1036


What is the flow of requests in struts based applications?

1031


What are the action classes in struts?

1056


What is role of action class?

1124


What is Struts2?

1121


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

1060


What do you mean by a custom tag?

1003


What do struts do?

1005


What is role of actionservlet?

1070


What is the purpose of @key annotation annotation?

1126


Are interceptors and filters different?

1109