我的jsp页面中有以下代码
<a href="javascript:void(0)" style="<c:if test="${fn:length(page.likes)}">display:none</c:if>" class="like">Like</a>
我收到以下异常
javax.el.ELException: Cannot convert 1 of type class java.lang.Integer to class java.lang.Boolean
org.apache.el.lang.ELSupport.coerceToBoolean(ELSupport.java:207)
org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:402)