日期:2014-05-17 浏览次数:20716 次
<form action="kpiDayDate.do"> <select name="fkpiname"> <option value=0>--请选择--</option> <% List list = (List) request.getAttribute("list"); for (int i = 0; i < list.size(); i++) { Item item = (Item) list.get(i); String[] str = new String[list.size()]; str[i] = item.getFkpiname(); %> <option value=<%=str[i]%>><%=str[i]%></option> <% } %> </select> <input type="submit" value="查询" /></form>