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 Murach's Java Servlets and JSP this week in the Servlets 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.
Don't get me started about those stupid light bulbs.
subject: DispatchAction and LookupDispatchAction
Similar Threads
DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction
difference between DispatchAction and LookupDispatchAction.
multiple buttons (with or without forms)
DispatchAction and child classes