<td>
<input type="radio" name="traMethod" value="1" <%info.getTraMethod()="1"?"checked":""%>>航空
<input type="radio" name="traMethod" value="2" <%info.getTraMethod()="2"?"checked":""%>>铁路
<input type="radio" name="traMethod" value="3" <%info.getTraMethod()="3"?"checked":""%>>公路
</td>请问错在那里?
<input type="radio" name="traMethod" value="1" <%info.getTraMethod()="1"?"checked":""%>>航空
<input type="radio" name="traMethod" value="2" <%info.getTraMethod()="2"?"checked":""%>>铁路
<input type="radio" name="traMethod" value="3" <%info.getTraMethod()="3"?"checked":""%>>公路
</td>请问错在那里?
<input type="radio" name="traMethod" value="1" <%=info.getTraMethod()="1"?"checked":""%>>航空
<input type="radio" name="traMethod" value="2" <%=info.getTraMethod()="2"?"checked":""%>>铁路
<input type="radio" name="traMethod" value="3" <%=info.getTraMethod()="3"?"checked":""%>>公路
</td>
<input type="radio" name="traMethod" value="1" <%info.getTraMethod()="1"?out.print("checked"):""%>>航空
<input type="radio" name="traMethod" value="2" <%info.getTraMethod()="2"?out.print("checked"):""%>>铁路
<input type="radio" name="traMethod" value="3" <%info.getTraMethod()="3"?out.print("checked"):""%>>公路
</td>
<%="1".equals(info.getTraMethod())?"checked":""%>
<input type="radio" name="traMethod" value="1" <%info.getTraMethod()=="1"?"checked":""%>>航空
<input type="radio" name="traMethod" value="2" <%info.getTraMethod()=="2"?"checked":""%>>铁路
<input type="radio" name="traMethod" value="3" <%info.getTraMethod()=="3"?"checked":""%>>公路
</td>
判断时应该“==”!!!!!!