达到这种效果
<c:choose>
<c:when test="${empty task.fileId}">
------
</c:when>
<c:otherwise>
${task.fileId}
</c:otherwise>
</c:choose>