What could be the reason the selected value does not get transmitted to the
servlet in the following code:
<select name="choice" size="15">
<option value="choose" selected>Please select #</option>
<%String batchNum = "";
AbstractList beans = (AbstractList)request.getAttribute ("mylist");
Iterator iterator = beans.iterator();
int i = 1;
while (iterator.hasNext()){
GetDataBean bean = (GetDataBean) iterator.next();
batchNum = bean.getBatchNum();
i++;
%>
<option value="<%= batchNum %>"><%= batchNum %></option>
<% } %>
</select>
Your responce is greately appreciated. Thanks. Mike.