The moose likes Struts and the fly likes dispatcher   Vs  action dispatcher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dispatcher   Vs  action dispatcher" Watch "dispatcher   Vs  action dispatcher" New topic

dispatcher Vs action dispatcher

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1429
What is the difference between dispatcher and action dispatcher is Struts ?
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

There are DispatchAction classes in Struts. I don't know what classes you are referring to.

A good workman is known by his tools.
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1429
What is DispatchAction classes in Struts ?
Kalyana Sundaram
Ranch Hand

Joined: Mar 18, 2005
Posts: 94
The DispatchAction class is used to group logically related actions in one class.
We should extend the DispatchAction class and provide one method for each logical action. The method to be executed is passed as the request parameter to the class grouping those logical Actions.

Only those who will risk going too far can possibly find out how far one can go !!!
I agree. Here's the link:
subject: dispatcher Vs action dispatcher
It's not a secret anymore!