This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 1371
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: 1371
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 !!!
It is sorta covered in the JavaRanch Style Guide.
subject: dispatcher Vs action dispatcher
Similar Threads
Help needed on Map Backed Action Form
dispatcher action
Doubt on "dispatcher" element in "filter-mapping"
requestDispatcher.forward() throws error when forwarded to #topic
What is the motivation to use filters in a struts application