<c:choose> <c:when test="${对象.属性 == ‘’ and 对象.属性 == ‘’}"> </c:when> <c:otherwise> </c:otherwise> </c:choose>