Struts 2.3.x 和 Struts 2.5.x 有什么区别
What is the difference between Struts 2.3.x and Struts 2.5.x
我知道Struts1和2的区别
但我不知道也找不到答案的是,为什么 Struts 2 有两个版本?
编辑 1:根据 2019 年 9 月 https://struts.apache.org/announce-2019#a20190912 的公告,版本 2.3.x 已停产,现在我们只有 2.5.x 版本
此处有发行说明文档:https://struts.apache.org/docs/version-notes-25.html。它包含整个变更日志,还引用了固定票证。
2.5.x 系列引入了一些突破性的变化,因此开发现在正在分支,因为 2.3.x 仍然受到支持。基本上他们将一些更改移植到 2.3.x 而不会破坏内容。
这是我在谷歌搜索互联网时发现的 Struts 2.3.x 和 Struts 2.5.x 的一些变化 made/replace/deprecated 的列表.
- StrutsPrepareAndExecuteFilter -> Struts 2.5.x 的
web.xml
过滤器内部已更改。
- 文档类型定义 -> Struts DTD 已更新到 2.5 版本。
- 包名称已更改 -> 一些 类 已移至不同的包。
- 标签属性 -> Struts 2.5.x UI 标签属性 id 已替换为 var 属性。
您还可以查看 Difference between Struts 2.3.x and 2.5.x 了解详细信息。
我知道Struts1和2的区别
但我不知道也找不到答案的是,为什么 Struts 2 有两个版本?
编辑 1:根据 2019 年 9 月 https://struts.apache.org/announce-2019#a20190912 的公告,版本 2.3.x 已停产,现在我们只有 2.5.x 版本
此处有发行说明文档:https://struts.apache.org/docs/version-notes-25.html。它包含整个变更日志,还引用了固定票证。
2.5.x 系列引入了一些突破性的变化,因此开发现在正在分支,因为 2.3.x 仍然受到支持。基本上他们将一些更改移植到 2.3.x 而不会破坏内容。
这是我在谷歌搜索互联网时发现的 Struts 2.3.x 和 Struts 2.5.x 的一些变化 made/replace/deprecated 的列表.
- StrutsPrepareAndExecuteFilter -> Struts 2.5.x 的
web.xml
过滤器内部已更改。 - 文档类型定义 -> Struts DTD 已更新到 2.5 版本。
- 包名称已更改 -> 一些 类 已移至不同的包。
- 标签属性 -> Struts 2.5.x UI 标签属性 id 已替换为 var 属性。
您还可以查看 Difference between Struts 2.3.x and 2.5.x 了解详细信息。