设置 “select”属性即可,如:
<span style="font-size:18px;"><select class="fl" id="search_CityId" name="search_City"> <option value="0" selected="selected">不限</option> </select></span>
JSP页面用forEach循环即可搞定:
<span style="font-size:18px;"><li class="clear">
<label class="fl">产品:<em style="color:red">*</em></label>
<select id="crt_Product" tabindex="10">
<c:forEach items="${dataList }" var="data" >
<option value="${data}" >${data}</option>
</c:forEach>
</select>
</li></span>
原文地址:http://blog.csdn.net/gisredevelopment/article/details/39546759