The best magazine
What Is Action Mapping in Struts?
- Action mapping is used in the Java computer programming language to define the path a web application takes when a user asks it to perform an action. One of the most common uses of action mapping is the validation of user names and passwords.
- Action mapping in the struts configuration of a web application defines such items as the name of a file containing the action associated with a user request. The pathway the web application takes through its programming files to complete an action is also defined by the completion of action mapping during the programming process.
- Within a struts application configuration, three elements are used to describe and direct actions, which are action mappings, global forwards and form beans. Action mappings are usually restricted to general purpose actions defined in a file as a list of the actions that can use the file.