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

Can i use constructor in Action Class?If yes how?

Answer Posted / sekhar babu

Yes we can write the constructor for the Action clas rule is
Constructor should not have arguments ,
If we provide with arguments we should also proide no
argment constructor

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is request processor and how does it relates to action mapping?

1049


What is front controller in struts2?

1083


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

1135


What is the apache struts vulnerability?

946


When should we use SwtichAction?

1073


Can we integrate struts with spring?

999


What is the purpose of @beforeresult?

1016


Why actionservlet is singleton in struts?

1008


What is the purpose of dispatcher result type?

960


What is the purpose of interceptors?

1004


What is struts?

984


What is actionform in struts?

1012


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

1010


What is the purpose of global-forwards tag in struct-config.xml?

966


What is controller in struts ?

992