An action mapping is a configuration file entry that usually contains a reference to an action class. This entry can contain a reference to a form bean that the action can use, and can also define local forwards and exceptions that are visible only to this action. When you write code for a JavaServer Pages (JSP) page, you can refer to the action mapping to trigger an action.
The action class contains an execute method that is called when the form is submitted. In this method, you can supply the logic to determine if the calculated result is success (which is defined by the forward that points to the output JSP page), or failure (which is defined by the forward that points to the input JSP page).
To edit an action mapping: