- Struts2
Infobox_Software
name = Struts2
developer =Apache Software Foundation
latest_release_version = 2.0.11.1
latest_release_date = release_date|2008|03|04
latest_preview_version =
latest_preview_date =
operating_system =Cross-platform
programming_language = Java
genre = Web Framework
license =Apache License 2.0
website = http://struts.apache.org/2.x/Struts2 is the rebranding of theWebWork project under theApache Struts make. So, although Struts2 is similar to Struts1, it is a direct descendent ofWebWork . It is used to implement theMVC (Model-View Controller) three-tier architechture in web application development.Apache
Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java
web applications . The framework is designed to streamline the full development cycle, from building, to deploying, to maintaining applications over time.Apache Struts 2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts2. This new version of Struts is simpler to use and closer to how Struts was always meant to be.
Build! Deploy! Maintain!
Build!
*Easy startup - Jumpstart new projects with the bootstrap tutorial and template application or Maven archetype.
*Improved Design - Code clean against HTTP-independent framework interfaces.
*Enhanced Tags - Code less with stylesheet-driven form tags that provide their own markup.
*Stateful Checkboxes - Avoid special handling with smart checkboxes that know when they are toggled.
*Flexible Cancel Buttons - Go directly to a different action on cancel.
*First-class AJAX support - Add interactivity and flexibility withAJAX tags that look and feel just like standard Struts tags.
*Easy Spring integration - Inject dependencies into Actions using Spring without glue code or red tape. (Plexus support also available.)
*Enhanced Results - Do more with speciality results forJasperReports ,JFreeChart , Action chaining, and file downloading.
*POJO forms - No more ActionForms! Use any JavaBean to capture form input or put properties directly on an Action class. Use both binary and String properties!
*POJO Actions - Use any class as an Action class -- even the interface is optional!Deploy!
*Easy plugins - Add framework extensions by dropping in a JAR. No manual configuration required! Bundled plugins add support for
JavaServer Faces , JasperReports, JFreeChart, Tiles, and more ...
*Integrated profiling - Peek inside Struts2 to find where the cycles are going!
*Precise Error Reporting - Flip directly to the location and line of an error.Maintain!
*Easy-to-test Actions - Test Struts2 Actions directly, without resorting to mock HTTP objects.
*Intelligent Defaults - Skip obvious and redundant settings. Most framework configuration elements have a default value that we can set and forget. Say it once!
*Easy-to-customize controller - Customize the request handling per action, if desired. Struts2 only does what you want it to do!
*Integrating Debugging - Research problem reports with built-in debugging tools.
*Easy-to-tweak tags - Customize tag markup by editing a FreeMarker template. No need to grok the taglib API!JSP ,FreeMarker , and Velocity tags are fully supported.Licensing of Apache Struts Distributions
Apache Struts 2 source code and documentation is licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file included in distribution for additional information regarding copyright ownership. The ASF licenses the source code and documentation files in our Apache Struts distribution to you under the Apache License, Version 2.0 (the "License"); you may not use the Apache Struts product except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.Platform Requirements
Apache Struts 2 requires:
Servlet API 2.4
JSP API 2.0
Java 5External links
* [https://appfuse.dev.java.net/ AppFuse]
* [http://struts.apache.org/2.x/]
Wikimedia Foundation. 2010.