factograf
EN
Sign in

Open-source web application framework

Apache Struts

All data from the card 11
Developer
Apache Software Foundation
Release
October 10, 2006
Stable release
7.0.3 / March 7, 2025
Written in
Java
Operating system
Cross-platform
Platform
Cross-platform (JVM)
Predecessor
Apache Struts 1
Type
Web framework
License
Apache License 2.0
Website
struts.apache.org
Repository
github.com/apache/struts

Apache Struts 2 is an open-source web application framework for developing Java EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt a model–view–controller (MVC) architecture. The WebWork framework spun off from Apache Struts 1 aiming to offer enhancements and refinements while retaining the same general architecture of the original Struts framework. In December 2005, it was announced that WebWork 2.2 was adopted as Apache Struts 2, which reached its first full release in February 2007.

Struts 2 has a history of critical security bugs, many tied to its use of OGNL technology; some vulnerabilities can lead to arbitrary code execution. In October 2017, it was reported that failure by Equifax to address a Struts 2 vulnerability advised in March 2017 was later exploited in the data breach that was disclosed by Equifax in September 2017.

Features

  • Simple POJO-based actions
  • Simplified testability
  • Thread safe
  • AJAX support
  • Template support
  • Support for different result types
  • Easy to extend with plugins
    • REST plugin (REST-based actions, extension-less URLs)
    • Convention plugin (action configuration via Conventions and Annotations)
    • Spring plugin (dependency injection)
    • Hibernate plugin
    • Support in design
    • JFreechart plugin (charts)
    • jQuery plugin (Ajax support, UI widgets, dynamic table, charts)
    • Rome plugin

In 23 languages

Text from Wikipedia, CC BY-SA 4.0 · Source article