<select name="sex">
      <%  
  int selSex=ab.getSex();  
        if(selSex==0){  
   %>  
  <option   selected   value="0">男</option>
  <option   value="1">女</option>  
  <%  
  }  
  else{  
  %>  
  <option value="0">男</option>
  <option selected value="1">女</option>     
  <%}%>  
</select>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-14
  • 2022-12-23
  • 2022-01-15
  • 2021-09-17
相关资源
相似解决方案