wood burning stoves 2.0*
The moose likes Struts and the fly likes DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction" Watch "DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction" New topic
Author

DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction

Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
Q1) What is difference between these classes DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction?

As far as i understand there is one common thing in these classes is that :
All these classes are used to group logical related functions into single Action class.

LookupDispatchAction is used instead of DispatchAction when there is need to internationalized button names. So we implement getMethodkey() to
find appropraite method based on message key.

Q2) When we must go for EventDispatchAction,MappingDispatchAction? how they differ from other 2 classes(i.e DispatchAction and LookupDispatchAction)?

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What did your examination of the Javadocs tell you?
 
 
subject: DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction