解决方案 »

  1.   

    类似吧。
    <select  id="xtatus">
    <c:forEach items="${xxx}" var="item">
    <c:choose>
    <c:when test="${item.option_value eq xxx}">
    <option value="${item.option_value }" selected="selected">${item.option_text}</option>
    </c:when>
    <c:otherwise>
    <option value="${item.option_value }">${item.option_text}</option>
    </c:otherwise>
    </c:choose>
    </c:forEach>
    </select>
      

  2.   

    页面加载完毕后,js获取select 然后循环option 判断value值,然后设置selected
      

  3.   

    <select value="${value}"  >
      

  4.   

     <select id="dateList" name="dateList" onchange="doQuery()">
           <c:forEach var="dateList" items="${dateList}">
              <option <c:if test="${date==dateList}">selected="selected"</c:if> value="${dateList}">${dateList}</option>
           </c:forEach>
        </select>
      

  5.   

    用EL表达式 ${param.select的名字} 。取到修改前的select的值,再判断select哪个选项是这个值用,然后让其选中。