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

How is the action mapping specified?

952


What is struts2 namespace?

918


What is struts in java with example?

949


What is form bean in struts?

954


What is use of i18n interceptor?

977


What is difference between interceptors and filters?

1028


How we can configured action mapping in struts?

1010


What do you mean by ognl?

997


What is switchaction?

1146


What’s the utilization of resource bundle properties file in struts validation structure?

1085


Give the details of xml files used in validator framework?

1001


How many struts config file can be created in struts?

891


What is the purpose of constant tag in struts.xml?

943


How do struts work?

932


What is the configuration files used in struts?

952