I think you are trying to use this expression as an attribute of some JSTL tag:
<c:if test = "${fn:contains()}">...</c:if>
If so, make sure you import the JSTL taglib version 1.1 (pay attention to the URI - it should contain jsp ):
<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
axtavt
source share