aspose file tools*
The moose likes Struts and the fly likes LookupDispatchAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookupDispatchAction" Watch "LookupDispatchAction" New topic
Author

LookupDispatchAction

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 390
The only difference between a DispatchAction and a LookupDispatchAciton is that lookupDispatchAction makes more use of the configuration file thereby increasing maintability (as we can change the configuration file without changing the code).

Is that all ?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The main difference is that LookupDispatchAction allows you to change the presentation of your submit buttons without changing the logic in your Action class.

For some good information on the differences, see Struts 1 tips 2 and 3 in this link
[ May 28, 2007: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LookupDispatchAction