首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

struts 取舍标签备忘

2012-10-09 
struts 选择标签备忘c:choosec:when test${type0}input typeradio idtype nametype

struts 选择标签备忘
<c:choose>
<c:when test="${type=='0'}">
<input type="radio" id="type" name="type" value="0" checked="checked" /> <b style="font-size:13px"> 按访问用户查询</b>
<input type="radio" id="type" name="type" value="1" /> <b style="font-size:13px"> 按业务系统查询 </b>
</c:when>
<c:when test="${type=='1'}">
<input type="radio" id="type" name="type" value="0" /> <b style="font-size:13px"> 按访问用户查询</b>
<input type="radio" id="type" name="type" value="1" checked="checked" /> <b style="font-size:13px"> 按业务系统查询 </b>
</c:when>
<c:otherwise>
<input type="radio" id="type" name="type" value="0"  /> <b style="font-size:13px"> 按访问用户查询</b>
<input type="radio" id="type" name="type" value="1" /> <b style="font-size:13px"> 按业务系统查询 </b>
</c:otherwise>
</c:choose>


***************************************************************

<c:if test="${contentTitle!=null}">
<c:out value="${contentTitle}"></c:out>
</c:if>
<c:if test="${contentTitle==null}">
统计列表
</c:if>
********************************************************************

<input type="radio" id="type" name="type" value="0" checked="checked" /> <b style="font-size:13px"> 按访问用户查询</b>

热点排行