Tomcat7.0.59 solution for El Expressions cannot be resolved
1. Corporate server in the transition from Windows to Windows, Tomcat from 6 to 7, in the process of conversion encountered New.title can not be resolved, but the previous TOMCAT6 can be used normally. After finding the data, we found that TOMCAT7 has new features .
Tomcat 7 has strict syntax requirements for El expressions, such as "${new.title}" which causes parsing errors due to the inclusion of the keyword new. \
This time for us to modify the configuration file, ignore the keyword settings:
Modifies the Tomcat attribute, ignoring the keyword check for El expressions. Modify the $catalina_base/conf/catalina.properties file and add the Org.apache.el.parser.skip_identifier_check=true option.
2. Also modify the project's Web.xml file, the red part is removed:
<?xml version= "1.0" encoding= "UTF-8"?>
<! DOCTYPE Web-app Public "-//sun Microsystems, INC.//DTD web
Application 2.3//en "HTTP://JAVA.SUN.COM/DTD/WEB-APP_2_3.DTD" >
<web-app version= "2.4" xmlns= "HTTP://JAVA.SUN.COM/XML/NS/J2EE"
Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"
Xsi:schemalocation= "Http://java.sun.com/xml/ns/j2ee
Http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd ">
TOMCAT7 with Servlet 3.0 specification and JAVADOC,JSP 2.2 and EL 2.2