求大神速度帮忙修改下谢谢
我想在这里只显示语文 代码应该怎样修改啊 求大神
[解决办法]
<div class="good_work">
<div class="work_more"><span>第四步</span></div>
<div class="st">
<ul>
<c:forEach items="${page.result}" var="v" begin="15" end="17">
<li class="st_li">
<span><fmt:formatDate pattern="yyyy-MM-dd" value="${v.createDate}"/></span>
[
<c:if test="${v.zlCate==1}">语文</c:if>
</a>
</li>
</c:forEach>
</ul>
</div>
</div>
[解决办法]
你打印出看看 ${v.zlCate} 的值是不是都是1
[解决办法]
<div class="good_work">
<div class="work_more"><span>第四步</span></div>
<div class="st">
<ul>
<c:forEach items="${page.result}" var="v" begin="15" end="17">
<li class="st_li">
<span><fmt:formatDate pattern="yyyy-MM-dd" value="${v.createDate}"/></span>
[
<c:if test="${v.zlCate==1}">语文</c:if>
]
<a href="javascript:doOption('${ctx }/before/test!testDetail.action','${v.id }');">
<c:if test="${fn:length(v.zlName)>28}">
${fn:substring(v.zlName,0,28)}...
</c:if>
<c:if test="${fn:length(v.zlName)<29}">
${v.zlName}
</c:if>
</a>
</li>
</c:forEach>
</ul>
</div>
</div>
[解决办法]
<div class="good_work">
<div class="work_more"><span>第四步</span></div>
<div class="st">
<ul>
<c:forEach items="${page.result}" var="v" begin="15" end="17">
<c:if test="${v.zlCate==1}">
<li class="st_li">
<span><fmt:formatDate pattern="yyyy-MM-dd" value="${v.createDate}"/></span>
[语文]
<a href="javascript:doOption('${ctx }/before/test!testDetail.action','${v.id }');">
<c:if test="${fn:length(v.zlName)>28}">
${fn:substring(v.zlName,0,28)}...
</c:if>
<c:if test="${fn:length(v.zlName)<29}">
${v.zlName}
</c:if>
</a>
</li>
</c:if>
</c:forEach>
</ul>
</div>
</div>