fn不支持JSTL

当我使用
${fn:contains()}"
时,它会导致以下异常:
org.apache.taglibs.standard.lang.jstl.parser.ParseException: EL functions are not supported
我该如何解决这个例外? 如果我需要下载更新版本的jstl.jar& standard.jar有人可以给我发链接吗? 提前致谢。     
已邀请:
我想您正在尝试将此表达式用作某些JSTL标记的属性:
<c:if test = "${fn:contains()}">...</c:if>
如果是这样,请确保导入版本为1.1的JSTL taglib(注意URI - 它应该包含
jsp
):
<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
    
您还需要函数标记库声明。
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
    
尝试使用axtavt的答案,如果仍然无效,请在jsp顶部添加
<%@ page isELIgnored ="false" %>
。     

要回复问题请先登录注册