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

What is Struts2?

1006


Explain about tiles?

991


How many struts config file in a struts application?

863


How is the mvc design pattern used in struts framework?

911


What is the purpose of struct-config.xml in struct2?

924


How to display validation errors on jsp page?

969


Difference between struts and spring?

1056


How to combine the struts with velocity template?

889


What is the purpose of @conversionerrorfieldvalidator annotation?

1114


What is difference between actionform and dynaactionform?

970


Why we use struts over servlets?

1002


What are the classes used in struts?

1042


What are the steps involved in creating a strut application?

905


Why do we use struts?

1078


What is front controller in struts?

940