Chapter 3. Working with Struts 2 actions
This chapter covers
- Bundling actions into packages
- Implementing actions
- Introducing object-backed properties and ModelDriven actions
- Uploading files
With the overviews and introductions behind us, it’s time to study the core components of Struts 2. First up, actions. As we’ve learned, actions do the core work for each request. They contain the business logic, hold the data, and then select the result that should render the result page. This is an action-oriented framework; actions are at its heart. In the end, you’ll spend much of your time as a Struts 2 developer working with actions.
This chapter will give you everything you need to start building your application’s actions. Using the XML-based mechanism ...
Get Struts 2 in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.