搜索
您的当前位置:首页正文

[转载]下拉框数据回显方法

来源:知库网
<select name="grader"  >   
      <option value="0">-请选择-</option>   
      <option value="1" <c:if test="${'1' eq curStatus}">selected</c:if> >男</option>  
      <option value="2" <c:if test="${'2' eq curStatus}">selected</c:if> >女</option>
 </select>
Top