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

how can i fetch combo box value into my DAO using struts 2?

Answer Posted / sarath kumar ch

If your combo box is multiple select :
Declare one array String variable in your action.And that
variable name should match with the combo box name. Then you
will get all the selected values into your action. There you
pass those variable to your DAO.

If your combo box is single select you can directly declare
a variable in your action as the same name with combo box.

Sarath

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lookupdispatchaction?

1026


How do I access token?

969


What are the some useful annotations introduced in struts2?

976


Name some useful annotations introduced in Struts2?

976


How action-mapping tag is used for request forwarding in struts configuration file?

958


Why is it called struts?

958


Explain about the future of struts?

952


Where should struts xml be placed?

927


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1061


Which library is provided by struts for form elements like check boxes, text boxes etc?

929


How an actionform bean is created?

970


What is the purpose of @element?

1013


while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

2556


Describe the mvc on struts?

960


What is the purpose of @doublerangefieldvalidator?

1065