How to add data into database from jsp page?

Hi all,

I am developing a web page in jsp.In that i am using combobox.

I need to update data which has been selected from the combobox.

The selected datas are not updated in to database instead only one data is updated.

Can Any one clarify the about doubt?

Thanks in advance.

[312 byte] By [sakdflksda] at [2007-11-27 4:08:22]
# 1
Likely you're querying only one selected value from the request using HttpServletRequest#getParameter() instead of an array of selected values using HttpServletRequest#getParameterValues().
BalusCa at 2007-7-12 9:13:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
You can loop all the values and store it in a javascript array. Then assign this to a hidden variable and take it in the actionform and then pass it to db to insert.
skp71a at 2007-7-12 9:13:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...