Along with dependency injection, an important concept in Struts 2 is its use of Interceptors.
Interceptors are Java classes provided by the Struts 2 framework that allow you to perform logic before and after Action executions.