每次struts的更新,都会发生它的基础jar包不同,下面我就列举最新版的struts2的基础jar包.
struts2.0.14:它们为commons-logging-1.0.4,freemarker-2.3.8,ognl-2.6.11,struts2-core-2.0.14,xwork-2.07.
struts2.1.6:它们为commons-fileupload-1.2.1,commons-io-1.3.2,commons-logging-1.0.4,freemarker-2.3.13,ognl-2.6.11,struts2-core-2.1.6,xwork-2.1.2.
web.xml
考虑到以后兼容以后的版本,原来的FilterDispatcher和ActionContextCleanUp将在以后的版本中去掉,官方推荐使用org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2.0.14:它们为commons-logging-1.0.4,freemarker-2.3.8,ognl-2.6.11,struts2-core-2.0.14,xwork-2.07.
struts2.1.6:它们为commons-fileupload-1.2.1,commons-io-1.3.2,commons-logging-1.0.4,freemarker-2.3.13,ognl-2.6.11,struts2-core-2.1.6,xwork-2.1.2.
web.xml
考虑到以后兼容以后的版本,原来的FilterDispatcher和ActionContextCleanUp将在以后的版本中去掉,官方推荐使用org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
本文详细列举了Struts2不同版本的基础jar包,并介绍了从struts2.0.14到2.1.6版本的变化。同时,文中提到了web.xml中FilterDispatcher和ActionContextCleanUp将被新的StrutsPrepareAndExecuteFilter替代。
2875

被折叠的 条评论
为什么被折叠?



