MappingDispatchAction: a single Action class but several action tags

The MappingDispatchAction class extends org.apache.struts.actions.DispatchAction. It is similar to DispatchAction, except that a different action form, identified by the name attribute, can be specified for each action mapping. MappingDispatchAction: Use this when you want to define multiple form handlers for the same Action. DispatchAction: Use this if for any reason you don’t want to define … Read more

The difference between MVC 1 and MVC 2

The MVC architecture : Model : Responsible for the business domain state knowledge View : Responsible for a presentation view of the business domain Controller : Responsible for controlling the flow and state of the user input There are 2 models of the MVC architecture : Model 1 (MVC 1) and Model 2 (MVC 2). … Read more