<body onload="document.all.yourButton.click()">

解决方案 »

  1.   

    <%
    ////////////////////////////////页面显示select_1符号,表示是否选中
    String Selt=null;
    String Selt1=rs.getString("你的数据库字段");
    if (Selt1!=yes){
    Selt="";
    }
    else{
    Selt="checked";
    }
    %>
    <input type="radio" name="radiobutton" value="radiobutton" <%=Selt%>>
      

  2.   

    我已经解决,和上面方法相似
    <input type="radio" name="SYFLAG" value="1" <%if(Data.getDelflg()){%> checked <%}%> disabled>Yes
                  
    <input type="radio" name="SYFLAG" value="0" <%if(!Data.getDelflg()){%> checked <%}%> disabled>No