tomcat7 cannot parse EL expressions containing keywords

Occurrence:

EL expressions contain keywords, such as: ${new} 

Tomcat7 has stricter syntax requirements for EL and does not support keywords (so the naming must be standardized).

Solution:

In Tomcat's conf directory, find the catalina.properties file, and add a line of property configuration at the end:

org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326226831&siteId=291194637