Action Classes
Recall again the
login action
element.
- The type attribute specifies the
class of an Action object that handles the processing of the login
request if there are no validation errors
- In this case, the object is of
the class LoginAction in the action package located under
WEB-INF/classes
- This class must subclass the Struts framework's
Action class and override the execute() method
- One of the parameters passed to execute() is the form bean
associated with it