aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DispatchAction and LookupDispatchAction" Watch "DispatchAction and LookupDispatchAction" New topic
Author

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
Author
Rancher

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: DispatchAction and LookupDispatchAction