This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookupDispatchAction" Watch "LookupDispatchAction" New topic


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 ]

Consultant, Sima Solutions
subject: LookupDispatchAction