Struts 2 Features Tutorial

The important features of struts 2 framework are as follows:

  1. Configurable MVC components
  2. POJO based actions
  3. AJAX support
  4. Integration support
  5. Various Result Types
  6. Various Tag support
  7. Theme and Template support

Configurable MVC components In struts 2 framework, we provide all the components (view components and action) information in struts.xml file. If we need to change any information, we can simply change it in the xml file.

POJO based actions In struts 2, action class is POJO (Plain Old Java Object) i.e. a simple java class.

AJAX support Struts 2 provides support to ajax technology. So a part of the page will be changed only and page will not reload. So it makes the performace fast.

Integration Support We can simply integrate the struts 2 application with hibernate, spring, tiles etc. frameworks.

Various Result Types We can use JSP, freemarker, velocity etc. technology as the result in struts2.