日期:2014-05-17  浏览次数:21394 次

jstl:org.apache.jasper.JasperException:. The end tag "</c:when" is unbalanced

?<c:choose>
?? <c:when test="${status.index==0}">
??? style="display:block"
?? </c:when>
?? <c:otherwise>
??? style="display:none"
?? </c:otherwise>
?</c:choose>

?

org.apache.jasper.JasperException: /jsp/statAnal/often/establish/t5_1Detail.jsp(128,3) The end tag "&lt;/c:when" is unbalanced

?

原因:<c:when test="${status.index==0}">? 写成了 :<c:when test="${status.index==0}"/>???多了"/"
?

?

org.apache.jasper.JasperException: /jsp/statAnal/often/establish/t5_1Detail.jsp(132,4) The end tag "&lt;/c:choose" is unbalanced

?

原因:</c:otherwise> 写成了 <c:otherwise> 少了"/"