This tutorial explores the method attribute in action mappings and how we can have multiple methods in a single Action class run for different URL mappings. Struts 2 Tutorial 14 – Configuring methods in Action mappings
Action-Mappings. The action-mappings section of the struts-config.xml file is by far the most important one because it is the one that defines the application's workflow: This determines which request is mapped to which Action subclass and, from there
extends The package element mostly extends the struts-default package where interceptors and result types are defined. If you extend struts-default, all the actions of this package can use the interceptors and result-types defined in the struts-default.xm
Post a Comment:
Showing 0 Comments: