about theOgnl-2.6.11.jar and Ognl-2.7.3.jar in the STRUTS2
Built a simple project: There are six imported jar packages, including
Commons-fileupload-1.2.1.jar
Commons-logging-api-1.1.jar
Freemarker-2.3.15.jar
Struts2-core-2.1.8.1.jar
Xwork-core-2.1.6.jar
Ognl-2.6.11.jar
Web. XML only has filters configured
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
There is no problem running the page that exists at this time.
Replace Ognl-2.6.11.jar with a higher version of Ognl-2.7.3.jar, then run, resulting in a 404 error.
Run container as Tomcat6.0
------ Solution --------------------------------------------------------
You ognl-2.7.3.jar version of the words Org.apache.struts2.dispatcher.FilterDispatcher
To be replaced by Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
------ Solution --------------------------------------------------------
Explore
You ognl-2.7.3.jar version of the words Org.apache.struts2.dispatcher.FilterDispatcher
To be replaced by Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
On the Ognl-2.6.11.jar and Ognl-2.7.3.jar solutions in Struts2