解决:添加js代码,加载页面后就给下拉菜单一个查询时的值
<script >
function window.onload(){
document.oForm.statusReport.value="<%=statusReport%>";
}
</script>
<select name="statusReport" value="<%=statusReport%>">
<option value ="" selected="selected" style="color: red">请选择</option>
<option value ="DELIVRD">接收成功</option>
<option value= "null" >接收失败</option>
</select>