81,094
社区成员
发帖
与我相关
我的任务
分享
<c:if test="${team.sex=='男'}">
<input type="radio" id="sex" value="男" name="team.sex" checked="checked"/> 男
<input type="radio" id="sex1" value="女" name="team.sex" /> 女
</c:if>
<c:if test="${team.sex=='女'}">
<input type="radio" id="sex" value="男" name="team.sex"/> 男
<input type="radio" id="sex1" value="女" name="team.sex" checked="checked"/> 女
</c:if>
<input type="radio" id="sex" value="男" name="team.sex" <%=request.getAttribute("team.sex") != null && request.getAttribute("team.sex").toString().equals("男")?"checked":""%>/> 男
<input type="radio" id="sex1" value="女" name="team.sex" <%=request.getAttribute("team.sex") != null && request.getAttribute("team.sex").toString().equals("女")?"checked":""%> /> 女
<input type="radio" id="sex" value="男" name="team.sex"<c:if test="${team.sex eq '男'}">
checked="checked" </c:if>
/> 男
<input type="radio" id="sex1" value="女" name="team.sex"name="team.sex"<c:if test="${team.sex eq '女'}">
checked="checked" </c:if>
/> 女
<input type="radio" name="team.sex" value="男" id="sex" <c:if test="${team.sex=='男'}">checked
</c:if>> 男
<input type="radio" name="team.sex" value="女" id="sex1" <c:if test="${team.sex=='女'}">checked
</c:if>> 女