O'Reilly logo

Struts 2 Design and Programming: A Tutorial by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Actions and Results

As Struts ships with interceptors and other components that solve common problems in web application development, you can focus on writing business logic in the action class. This chapter discusses topics you need to know to write effective action classes, including the ActionSupport convenience class and how to access resources. In addition, it explains related subjects such as the standard result types, global exception mapping, wildcard mapping, and dynamic method invocation.

Action Classes

Every operation that an application can perform is referred to as an action. Displaying a Login form, for example, is an action. So is saving a product’s details. Creating actions is the most important task in Struts application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required