This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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
It's not a secret anymore!