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 the difference between empty default namespace and root namespace?

1053


What is the difference between forwardaction and includeaction?

1080


How can we write our own interceptor and map it for action?

1007


What do you mean by a custom tag?

889


What is use of i18n interceptor?

929


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

833


What is interceptor in Struts2?

909


What is the difference between plain-validator and field-validator?

900


What is the use of web xml in struts2?

853


How to upload struts file?

970


What are the custom tags?

865


What is the use of execAndWait interceptor?

988


What is struts 2 framework in java?

978


What is the purpose of @before annotation?

953


Explain the necessity of empty tag?

954