MVC框架 Struts V2.5 發布
簡介
Struts 是 Apache軟件基金會(ASF)贊助的一個開源項目。它最初是 Jakarta項目中的一個子項目,并在2004年3月成為ASF的頂級項目。它通過采用 Java Servlet/JSP 技術,實現了基于Java EE Web應用的MVC設計模式的應用框架,是MVC經典設計模式中的一個經典產品。
更新日志
Internal Changes
All security patches from prior versions were merged into this version
- XWork source was merged into Struts Core source, it means that there be no more
xwork
artifact nor dedicated jar - Spring dependency for tests and spring plugin was upgraded to version 4.1.6, see WW-4510.
- Struts2 internal logging api was marked as deprecated and was replaced with new Log4j2 api as logging layer, see WW-4504.
- Struts2 is now build with JDK7, see WW-4503.
- New plugin to support bean validation is now part of the distribution, see WW-4505.
- Deprecated plugins are now removed from the distribution and are not longer supported anymore.
- Dojo Plugin
- Codebehind Plugin
- JSF Plugin
- Struts1 Plugin
- New security option was added - Strict Method Invocation (also known as Strict DMI), see WW-4540
- Added support for latest stable AngularJS in Maven archetype, see WW-4522
- Dropped support for
id
andname
- replaced withvar
, see WW-2069 - Dedicated archive with a minimal set of dependencies was introduced, see WW-4570
- It is possible to use multiple names when defining a result, see WW-4590
- Rest plugin honors Accept header, see WW-4588
-
New result 'JSONActionRedirectResult' in json-plugin was defined, see WW-4591
- Tiles plugin was upgrade to the latest Tiles 3 and tiles3-plugin was dropped, see WW-4584
- JasperReports plugins was upgraded to JasperReport 6.0, see WW-4381
- OGNL was upgraded to version 3.1.4 and it breaks access to properties as it follows Java Bean Specification, see WW-4207 and WW-3909
- Annotations to configure Tiles, see WW-4594 and Tiles Plugin </ul>
- New:
import org.apache.struts2.dispatcher.filter.StrutsExecuteFilter
import org.apache.struts2.dispatcher.filter.StrutsPrepareFilter
import org.apache.struts2.dispatcher.listener.StrutsListener
import org.apache.struts2.result.ServletRedirectResult - Old:
import org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter
import org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter
import org.apache.struts2.dispatcher.ng.listener.StrutsListener
import org.apache.struts2.dispatcher.ServletRedirectResult
- Full Distribution:
- struts-2.5-all.zip (65MB) [PGP] [MD5]
- Example Applications:
- struts-2.5-apps.zip (35MB) [PGP] [MD5] </ul> </li>
- Essential Dependencies Only:
- struts-2.5-min-lib.zip (4MB) [PGP] [MD5] </ul> </li>
- All Dependencies:
- struts-2.5-lib.zip (19MB) [PGP] [MD5] </ul> </li>
- Documentation:
- struts-2.5-docs.zip (13MB) [PGP] [MD5] </ul> </li>
- Source:
- struts-2.5-src.zip (7MB) [PGP] [MD5] </ul> </li> </ul>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
Package names have changed
Some classes were moved to different packages, see the list below for more details: