org.apache.jasper.JasperException: #{...} is not allowed in template

org.apache.jasper.JasperException: #{...} is not allowed in template

 
针对jsp页面使用JQueryUI元素,出现org.apache.jasper.JasperException: #{...} is not allowed in template之类异常信息,解决办法如下:
在页面指令处添加 deferredSyntaxAllowedAsLiteral="true" 即可
例如这样:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" deferredSyntaxAllowedAsLiteral="true"%>
原文地址:https://www.cnblogs.com/tanghao666/p/7684994.html