<c:forEach items="${yourarray}" var="item">
<c:if test="${item == 0}">
output whatever you what
</c:if>
<c:if test="${item == 1}">
output whatever you what
</c:if>
</c:forEach>
<c:if test="${item == 0}">
output whatever you what
</c:if>
<c:if test="${item == 1}">
output whatever you what
</c:if>
</c:forEach>
解决方案 »
- 求一份做的比较好的在线考试系统,
- hibernate中如何执行show tables
- Spring2.0中循环依赖如何解决
- hibernate多对一自身映射 问题
- 有关sqlserver 2008 连接失败的问题
- struts2标签如何显示*号
- 关于java soap的调用问题 大虾们帮忙啊 在线等
- 用hibernate的BeanUtils.copyProperties方法时,form中加一个自定义对象有影响吗???????
- 请教Struts开发中数据库查询的问题
- 请大家帮我看看这是什么错误?怎么解决?
- 请教,我怎么就找不到SVN服务器上的最新文件夹放在哪了呢???
- 问个webwork不能跳转的错误
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>4. 使用楼上所提供的方式循环取值。