<s:iterator value="要遍历的对象" status="索引">
<li>
<a title="${standName}" class="on" href="<%=basePath%>platform/findStandByidSDAction.action?serId='${id}'&type=topbiaozhun">
<s:if test="standName.length()>11">
<s:property value="standName.substring(0,11)" />
</s:if>
<s:else>
<s: property value="standName"/>
</s:else>
</li>
</s:iterator>
jstl 使用s标签遍历
最新推荐文章于 2022-03-04 21:57:22 发布