发布于 2016-05-12 02:17:09 | 212 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Struts Java MVC框架

Struts 是Apache软件基金会(ASF)赞助的一个开源项目。它最初是Jakarta项目中的一个子项目,并在2004年3月成为ASF的顶级项目。它通过采用JavaServlet/JSP技术,实现了基于Java EEWeb应用的MVC设计模式的应用框架,是MVC经典设计模式中的一个经典产品。


著名的 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.14.1 发布,MVC 框架
Apache Struts 2.5.14 发布,MVC 框架
Apache Struts 2.3.34 发布,修复安全问题
Apache Struts 2 曝高危远程代码执行漏洞,快升级!
Apache Struts 2.5.13 发布,MVC 框架
Apache Struts 2.5.12 发布,MVC 框架
Apache Struts 2.5.11 发布,MVC 框架
Apache Struts 2.3.32 GA 发布,修复安全漏洞
Apache Struts 2.5.10.1 GA 发布,MVC 框架
Apache Struts 2.5.10 发布,MVC 框架
Apache Struts 2.5.9 发布,MVC 框架
Apache Struts 2.5.8 发布,MVC 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务