Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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


Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 392
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 ]

Consultant, Sima Solutions
Have you checked out Aspose?
subject: LookupDispatchAction
It's not a secret anymore!