XWork: Core

Apache Struts 2

License

License

GroupId

GroupId

org.apache.struts.xwork
ArtifactId

ArtifactId

xwork-core
Last Version

Last Version

2.3.37
Release Date

Release Date

Type

Type

jar
Description

Description

XWork: Core
Apache Struts 2
Project Organization

Project Organization

Apache Software Foundation

Download xwork-core

How to add to project

<!-- https://jarcasting.com/artifacts/org.apache.struts.xwork/xwork-core/ -->
<dependency>
    <groupId>org.apache.struts.xwork</groupId>
    <artifactId>xwork-core</artifactId>
    <version>2.3.37</version>
</dependency>
// https://jarcasting.com/artifacts/org.apache.struts.xwork/xwork-core/
implementation 'org.apache.struts.xwork:xwork-core:2.3.37'
// https://jarcasting.com/artifacts/org.apache.struts.xwork/xwork-core/
implementation ("org.apache.struts.xwork:xwork-core:2.3.37")
'org.apache.struts.xwork:xwork-core:jar:2.3.37'
<dependency org="org.apache.struts.xwork" name="xwork-core" rev="2.3.37">
  <artifact name="xwork-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.apache.struts.xwork', module='xwork-core', version='2.3.37')
)
libraryDependencies += "org.apache.struts.xwork" % "xwork-core" % "2.3.37"
[org.apache.struts.xwork/xwork-core "2.3.37"]

Dependencies

compile (19)

Group / Artifact Type Version
commons-logging : commons-logging Optional jar 1.1.3
org.apache.commons : commons-lang3 jar 3.2
commons-io : commons-io Optional jar 2.2
ognl : ognl jar 3.0.21
asm : asm jar 3.3
asm : asm-commons jar 3.3
org.springframework : spring-core Optional jar 3.0.5.RELEASE
org.springframework : spring-aop Optional jar 3.0.5.RELEASE
org.springframework : spring-aspects Optional jar 3.0.5.RELEASE
org.springframework : spring-beans Optional jar 3.0.5.RELEASE
org.springframework : spring-context Optional jar 3.0.5.RELEASE
org.springframework : spring-context-support Optional jar 3.0.5.RELEASE
org.springframework : spring-web Optional jar 3.0.5.RELEASE
cglib : cglib-nodep Optional jar 2.1_3
junit : junit Optional jar 4.8.2
org.testng : testng Optional jar 5.1
org.slf4j : slf4j-api Optional jar 1.7.12
org.slf4j : slf4j-simple Optional jar 1.7.12
org.apache.logging.log4j : log4j-api Optional jar 2.3

test (4)

Group / Artifact Type Version
org.springframework : spring-test jar 3.0.5.RELEASE
mockobjects : mockobjects-core jar 0.09
org.easymock : easymock jar 2.4
log4j : log4j jar 1.2.17

Project Modules

There are no modules declared in this project.

The Apache Struts web framework

Build Status @ Jenkins Build Status @ Travis Maven Central Javadocs Coverage Status License

The Apache Struts web framework is a free open-source solution for creating Java web applications.

Documentation

More information can be found on the homepage. Please read the Security Guide, and the JavaDocs can be browsed. Questions related to the usage of Apache Struts should be posted to the user mailing list.

Description

Web applications differ from conventional websites in that web applications can create a dynamic response. Many websites deliver only static pages. A web application can interact with databases and business logic engines to customize a response.

Web applications based on JavaServer Pages sometimes commingle database code, page design code, and control flow code. In practice, we find that unless these concerns are separated, larger applications become difficult to maintain.

One way to separate concerns in a software application is to use a Model-View-Controller (MVC) architecture. The Model represents the business or database code, the View represents the page design code, and the Controller represents the navigational code. The Struts framework is designed to help developers create web applications that utilize an MVC architecture.

The framework provides three key components:

  • A “request” handler provided by the application developer that is mapped to a standard URI.
  • A “response” handler that transfers control to another resource which completes the response.
  • A tag library that helps developers create interactive form-based applications with server pages.

The framework’s architecture and tags are buzzword compliant. Struts works well with conventional REST applications and with technologies like SOAP and AJAX.

The Apache Struts Project

The Apache Struts Project is the open source community that creates and maintains the Apache Struts framework. The project consists of a diverse group of volunteers who share common values regarding collaborative, community-based open source development. The Apache Struts Project is proud to share these values with our parent organization: The Apache Software Foundation.

The project is called “Struts” because the framework is meant to furnish the “invisible underpinnings” that support professional application development. Struts provides the glue that joins the various elements of the standard Java platform into a coherent whole. Our goal is to leverage existing standards by producing the missing pieces we need to create enterprise-grade applications that are easy to maintain over time.

The Apache Struts Project offered two major versions of the Struts framework. Currently we are only maintaining the Struts 2 version. It is recommended to upgrade all Struts 1.x applications to Struts 2. Please do not start new application development using Struts 1.x, as we are no longer issuing security patches.

Struts 2 was originally known as WebWork 2. After working independently for several years, the WebWork and Struts communities joined forces to create Struts 2. The 2.x framework is the best choice for teams who value elegant solutions to difficult problems.

Why should you use Apache Struts?

Apache Struts is a modern, maintained and full-featured web framework. As it has been around for years and grown a huge user base it is unlikely it will go away anytime soon. Not only that, we have dedicated users and developers on the project. Apache Struts is licensed under the Apache License 2.0 and this will not change. We maintain a clean IP and you are “safe” to use the project. Sometimes you are not “safe” to use a project when a company controls the SCM. Access to Source Code doesn’t mean it is free. With Apache Struts, you are not only free to “do what you want with it”, you can even contribute (which is not always the case). And best of all: you can become a part of the core team too.

It is usually very easy to integrate other technologies with Apache Struts. If you are using an ORM like Apache Cayenne, Hibernate or JDBC, you will not have any restrictions. Apache Struts is not even tied too much to a frontend technology. In old days it was JSP, then came Velocity and Freemarker. Nowadays you might build your web application with just static HTML and AngularJS. Or you might want to use Sitemesh or Tiles. This all is no problem due to Struts' elegant and easy-to-use extension mechanisms.

Unlike other, component-oriented frameworks, we do not aim to hide the stateless nature of the web. We think it is perfectly acceptable to build upon a Request/Response cycle. We also think the MVC pattern is not so bad, just because it is old. In fact, we believe the Apache Struts architecture is clean and easy to understand.

Of course, if you wish to build components on the server side which render on the front end side, you will most likely not want Struts. This is a different approach which promises to reduce the amount of HTML/JavaScript knowledge needed and to create reusable components for the view layer. Projects like Wicket and Tapestry serve this purpose very well. As with every framework, you need to decide if it makes sense for you to build components or if you prefer the Struts approach.

Commercial Support

The Apache Struts community does not offer commercial support by itself.

Some Apache Struts maintainers are working with Tidelift to provide commercial support and invest paid working time in the improvement of the Apache Struts framework. For more information, visit the Tidelift resources regarding Apache Struts

org.apache.struts.xwork

The Apache Software Foundation

Versions

Version
2.3.37
2.3.36
2.3.35
2.3.34
2.3.33
2.3.32
2.3.31
2.3.30
2.3.29
2.3.28.1
2.3.28
2.3.24.3
2.3.24.1
2.3.24
2.3.20.3
2.3.20.1
2.3.20
2.3.16.3
2.3.16.2
2.3.16.1
2.3.16
2.3.15.3
2.3.15.2
2.3.15.1
2.3.15
2.3.14.3
2.3.14.2
2.3.14.1
2.3.14
2.3.12
2.3.8
2.3.7
2.3.4.1
2.3.4
2.3.3
2.3.1.2
2.3.1.1
2.3.1
2.2.3.1
2.2.3
2.2.1.1
2.2.1