这是servlet中的代码
List list=orderBiz.queryAll();
request.setAttribute("listOrder", list);
request.getRequestDispatcher("manage/order.jsp").forward(request, response);
这是JSP中代码
<tr>
<th colspan="2">单号:${listorder.order.eo_id} 时间:${listorder.order.eo_create_time}</th>
<th colspan="2">状态:<select name="status" id="status">
<option value="1" <c:if test="${listorder.order.eo_status==1}">selected="selected"</c:if>>待审核</option>
<option value="2" <c:if test="${listorder.order.eo_status==2}">selected="selected"</c:if>>审核通过</option>
<option value="3" <c:if test="${listorder.order.eo_status==3}">selected="selected"</c:if> >配货</option>
<option value="4" <c:if test="${listorder.order.eo_status==4}">selected="selected"</c:if> >发货</option>
<option value="5" <c:if test="${listorder.order.eo_status==5}">selected="selected" </c:if> >收货确认</option>
</select>
<input type="hidden" value="${listorder.order.eo_id}" name="eoid"/>
</th>
</tr>
<td class="first w4 c"><img src="images/product/${listorder.product.ep_file_name}" width="100px" height="100px"/>${listorder.product.ep_name}</td>
<td >${listorder.product.ep_price}</td>
<td>${listorder.detail.eod_quantity}</td>
<td class="w1 c" >总计:${listorder.detail.eod_cost}</td>
</tr>
</c:forEach>
</table>