What is LookupDispatch Action?- LookupDispatch is similar to ActionDispatch. It distinguishes the ActionDispatch that uses the request parameter’s values which performs a reverse lookup from resource bundle which uses the value of parameters and match it to a method in the class.Describe the main difference between LookupDispachAction and DispatchAction classes.- The method to execute on a DispatchAction is determined by Struts based on the value of a specified request parameter.
- The method to execute on a LookupDispachAction is determined by an Action itself based on the value of a specified request parameter.What is LookupDispatch Action?- The LookupDispatch Action dispatches to the subclass mapped execute method. when an HTML form has multiple submit buttons with the same name, the parameter property specifies the button name that corresponds to the ActionMapping.
|