1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Apache Struts 2.5 GA 发布 下载

本帖由 漂亮的石头2016-05-12 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,660
    赞:
    47
    著名的 Java 框架 —— Apache Struts 2.5 GA 发布了,Maven 使用方法:

    <dependency>
    <groupId>org.apache.struts</groupId>
    <artifactId>struts2-core</artifactId>
    <version>2.5</version>
    </dependency>

    该版本包含如下新特性:


    • [WW-2563] - Improve Validation - Add Support for Bean Validation API (JSR 303) / Hibernate Validator


    • [WW-2821] - REST & Validation


    • [WW-2840] - Inherited @Namespace annotation


    • [WW-3710] - com.opensymphony.xwork2.util.ClassPathFinder.getURLClassLoader() return null in jboss-as-web-7.0.2.Final


    • [WW-4503] - Build Struts with JDK 7


    • [WW-4504] - Mark current logging layer as @deprecated and use Log4j2 as default one


    • [WW-4505] - Add plugin to support bean validation


    • [WW-4506] - Upgrade spring version for spring plugin to spring version 4.x


    • [WW-4549] - Extend Struts Test Case to support tests for REST plugin actions


    • [WW-4594] - Configure TilesDefs by annotating Actions


    • [WW-4607] - Allow html5 type values for s:textfield

    改进内容:


    • [WW-1691] - TokenActionInterceptor - token functionality from a text link


    • [WW-2157] - Update Struts1 plugin to support using Struts 1 tag libraries in JSP pages


    • [WW-2891] - Replace deprecated operators in FreeMarker


    • [WW-3266] - getFieldValue() method of ValueStackDataSource uses getDescription() to get field value may not appropriate


    • [WW-3591] - Deprecate codebehind plugin


    • [WW-3592] - Deprecate dojo plugin


    • [WW-3726] - Remove deprecated methods from ActionProxyFactory


    • [WW-3731] - Rename ArrayUtils to CollectionUtils


    • [WW-3937] - The annotation @Result can have an extra attribute to hold tiles attributes


    • [WW-3940] - Upgrade to Velocity Tools 2.0


    • [WW-4077] - Move ValidationAware interface into package com.opensymphony.xwork2.interceptor


    • [WW-4106] - ChainingInterceptor has references to Struts


    • [WW-4183] - xhtml theme field errors are always centered


    • [WW-4207] - Upgrade to OGNL 3.0.11


    • [WW-4227] - Implement internal security mechanism to prevent injecting suspicious code


    • [WW-4328] - Add option to limit action to given request type


    • [WW-4355] - Replace deprecated HTML attributes with CSS


    • [WW-4381] - upgrade to jasperreports 6.0


    • [WW-4410] - Custom configuration providers accessing servlet-context


    • [WW-4415] - Add Log4j2 as a logging layer


    • [WW-4431] - Java 8 support - lambda in action classes


    • [WW-4439] - Drop support for the "do" prefix


    • [WW-4443] - Rename scope default to prototype


    • [WW-4501] - Update docs with proper params interceptor configuration


    • [WW-4502] - File listing for dtd-s


    • [WW-4510] - Upgrade spring plugin dependencies to spring version 4.x


    • [WW-4515] - Convert try blocks to try-with-resources


    • [WW-4517] - UnknownHandle should return null instead of throwing exception when method is missing


    • [WW-4518] - Drop deprecated API


    • [WW-4519] - StrutsResultSupport outputs remining bytes of data during out


    • [WW-4522] - Support latest stable AngularJS version in maven angularjs archetype


    • [WW-4523] - Add more log statements to RolesInterceptor


    • [WW-4527] - Show property class in debug tag


    • [WW-4531] - Improve javadoc to be compatible with more strict JDK8 javadoc standard


    • [WW-4537] - Support for latest jackson lib as json content handler in rest plugin


    • [WW-4539] - Handling array of tokens in token session interceptor to prevent CSRF attack in an async-request app


    • [WW-4540] - Enable Strict DMI by default


    • [WW-4544] - Improve ContainUtil for uniform comparison


    • [WW-4552] - Make it easier to extend to use own ActionInvocation


    • [WW-4553] - Make it easier to extend to override interceptor stack


    • [WW-4556] - In theme simple, move form-close.ftl tooltip code into own file


    • [WW-4561] - Upgrade OGNL to version 3.1.1


    • [WW-4576] - Upgrade to Log4j2 version 2.5


    • [WW-4577] - Upgrade OGNL to version 3.1.2


    • [WW-4584] - Upgrade Tiles 3 pugin to latest available Tiles 3 version


    • [WW-4587] - LocalizedTextUtil not caching negative ResourceBundle.getBundle results


    • [WW-4588] - Improve the Struts2 Rest plugin to honor Accept header


    • [WW-4590] - Allow to use multiple names in result


    • [WW-4591] - New result 'JSONActionRedirectResult' in json-plugin


    • [WW-4593] - Easymock upgrade to 3.4


    • [WW-4605] - Refactor MessageStoreInterceptor and use PreResultListener to store messages


    • [WW-4621] - Allow load static resources first

    以及大量的 Bug 修复,详细列表请看这里
    Apache Struts 2.5 GA 发布下载地址
     
正在加载...