Struts 2.2.1 - An introduction to Struts 2.2.1 Features
Posted on: November 12, 2010 at 12:00 AM
Learn the features of Struts 2.2.1 Framework. Here we are briefly introducing you with Struts 2.2.1 Features.

Struts 2.2.1 - An introduction to Struts 2.2.1 Features

The Struts 2.2.1 is another advanced version of Struts 2. Struts is used to develop enterprise Java web applications. Struts 2 is based on MVC design pattern, which helps the programmer to quickly develop highly extensible, scalable and high performance enterprise web application.

Struts 2.2.1 is released with many new features and enhancements. It is the best available version (as on 12-Novermber-2010) of Struts in 2.2 series.

You can download the Struts 2.2.1 from http://struts.apache.org/download.cgi

If you download struts2-2.2.1-all.zip file you will get all the libraries need to setup and run Struts 2.2.1 based applications.

Following example applications are distributed with this version of Struts:

  • struts2-blank-2.2.1.war
  • struts2-mailreader-2.2.1.war
  • struts2-portlet-2.2.1.war
  • struts2-rest-showcase-2.2.1.war
  • struts2-showcase-2.2.1.war

You can install these files on Tomcat or any other server and see the capability of Struts 2.2.1 framework. These files will also help you in learning the concepts of Struts 2.2.1 framework.

Features of Struts 2.2.1

Here are features and changes make in Struts 2.2.1:

  • XWork was moved to ASF. XWork is a part of Struts 2 now.
  • XWork Maven artifact group id is : <groupId>org.apache.struts.xwork</groupId>
  • Struts 2.2.1 is using OGNL version 3.0.
  • Maven Dependency
    <dependency>
    <groupId>org.apache.struts</groupId>
    <artifactId>struts2-core</artifactId>
    <version>2.2.1</version>
    </dependency>
  • Snapshot Repository
    <repositories>
    <repository>
    <id>apache.nexus</id>
    <name>ASF Nexus Staging</name>
    <url>https://repository.apache.org/content/groups/staging/</url>
    </repository>
    </repositories>

In the next section we will show Hello World Example in Struts 2.2.1

Related Tags for Struts 2.2.1 - An introduction to Struts 2.2.1 Features:

Advertisements

Ads

Ads

 
Advertisement null

Ads