File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes DispatchAction and LookupDispatchAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DispatchAction and LookupDispatchAction" Watch "DispatchAction and LookupDispatchAction" New topic

DispatchAction and LookupDispatchAction

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
What is the difference between DispatchAction and LookupDispatchAction.

DispatchAction is used when we want to group a set of methods to a single action.
For example ; add() ,update() and delete() in UserAction class which extends DispatchAction class.

What is the purpose of LookupDispatchAction.
David Newton

Joined: Sep 29, 2008
Posts: 12617

Perhaps reading the documentation would help:

DispatchAction Javadocs
LookupDispatchAction Javadocs

It's almost always the best, easiest, and fastest way to get a question answered.
I agree. Here's the link:
subject: DispatchAction and LookupDispatchAction