0

次のコードを使用して情報を表示していますが、jstl exception が発生します。これを処理する代替または適切な方法を提案してください

<div class="span3">
        <c:choose>
            <c:when test="${fn:length(alertStatusForm.totalSentRecipient) gt 0}">
                <div class="row-fluid"><div class="span12"><a href="/event/alert/recipient/list/${alertStatusForm.forAlert.id}" class="underline">${fn:length(alertStatusForm.totalSentRecipient)}</a></div></div>  
            </c:when>
            <c:otherwise>
                        <label style="color:black"><spring:message code='alert.voice.time.others'/></label>
            </c:otherwise>
        </c:choose>
        <c:choose>
            <c:when test="${fn:length(alertStatusForm.totalNotSentRecipient) gt 0}">
                <div class="row-fluid"><div class="span12"><a style="color: red" href="/event/alert/recipient/list/${alertStatusForm.forAlert.id}" class="underline">${fn:length(alertStatusForm.totalNotSentRecipient)}</a></div></div>
            </c:when>
            <c:otherwise>
                <label style="color:black"><spring:message code='alert.voice.time.others'/></label>
            </c:otherwise>
        </c:choose>
        <c:choose>
            <c:when test="${fn:length(alertStatusForm.totalInProgressRecipient) gt 0}">
                <div class="row-fluid"><div class="span12"><a href="/event/alert/recipient/list/${alertStatusForm.forAlert.id}" class="underline">${fn:length(alertStatusForm.totalInProgressRecipient)}</a></div></div>
            </c:when>
            <c:otherwise>
                        <label style="color:black"><spring:message code='alert.voice.time.others'/></label>
            </c:otherwise>
        </c:choose>
</div>
4

1 に答える 1