query based on a selection from a combo box

Hi,

i have a search.jsp form with some input fields. One of the input fields is a combo box, filled with information from a database. Now I want to query the database with the option selected in the combo.

This is the code of the combo box:

<select name="ScopeCh">

<option selected value "-1">Select ...</option>

<% while (searchForm2.getScopes() > 0 ) { %>

<option value="<%=searchForm2.getScope()%>">

<%=searchForm2.getScope()%>

<% } %>

</select>

The query doesn't work when I select a value in the combo box.

Thanks for your help

[679 byte] By [VerachtertK] at [2007-9-26 22:49:45]
# 1
request.getParameter(ScopeCh)Should return the Value which was selected from Combo Box
aqb75 at 2007-7-4 3:22:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I already found it myself, but thanks anyway
VerachtertK at 2007-7-4 3:22:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...