combo box retrieval

hi, i have combo box that have n values. i should retrieve that values and store it in database. how could i retrieve the values without clicking any values in the combo box.
[195 byte] By [lintaa] at [2007-11-27 0:49:38]
# 1
The same question....:P
karen577a at 2007-7-11 23:19:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Use javascript to loop the values in the combo box and assign those values in a hidden field. Have a String[] in your form bean and set the values from the hidden field.Using StringTokenizer, fetch each value and pass it in the BO to save it to database. Very simple.
skp71a at 2007-7-11 23:19:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

> how could i retrieve the values without clicking any

> values in the combo box.

So, when an user don't check any values in the combobox, you want to retrieve ans save all values anyway? Don't you realize how meaningless this combobox would be then? Or do you just want to know which values are all available? If so, then save it in a backing map or so and gently reuse it.

BalusCa at 2007-7-11 23:19:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
if I have many comboBoxes within one column of a table,how to store the selections within an arrayList or array plsMine only shows the last selection,,,
karen577a at 2007-7-11 23:19:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
Use ServletRequest#getParameterValues() instead of getParameter().Also see the [url= http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html#getParameter(java.lang.String)]ServletRequest API[/url]. It's clearly stated there.
BalusCa at 2007-7-11 23:19:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...