struts2.18漏洞升級至 struts2.315

     

工程修改內容:java

    新增的jar包:web

        struts2-core-2.3.15.2.jarspring

        xwork-core-2.3.15.2.jaride

        ognl-3.0.6.jarxml

        javassist-3.11.0.GAit

        commons-lang3-3.1.jario

    配置文件修改: 版本內容
class

        web.xmlstruts2

        struts.xml配置

 

工程中需刪除的jar包:低級版本3個包

struts-core-2.0.18.jar

struts-spring-plugin-2.0.18.jar

xwork-2.0.4.jar



動態地址配置

  <constant name="struts.enable.DynamicMethodInvocation" value="true"/>

相關文章
相關標籤/搜索