This chapter delves into ActionSupport
. It explains how ActionSupport
, along with a few interfaces and a few Struts 2 tags, allows us to implement a fair amount of functionality. The chapter covers a bit about the I18N and validation support provided by ActionSupport
.
The chapter also takes a quick took at a few other interfaces that provide access to scoped attributes (and if needed, direct access to request parameters). We can also access Servlet specification objects, such as the request and response, if we really need to.
All of these interfaces work in concert with interceptors, which we'll discuss in detail later. Even without in-depth knowledge of interceptors, we are already using them. And we could see that they're something worth paying attention to—much of Struts 2's functionality depends on them.
Next on our plate is more about Struts 2 results, including a look at the framework's default result types. We'll also look further at result configuration, type conversion, and...