Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development forum!
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
I agree. Here's the link:
subject: LookupDispatchAction