A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction
Joined: Oct 19, 2006
May 13, 2010 15:28:18
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)?
Joined: Sep 29, 2008
May 13, 2010 16:50:06
What did your examination of the Javadocs tell you?
I agree. Here's the link:
subject: DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction
DispatchAction and LookupDispatchAction
Do you use other types of actions?
Struts Action Classes
DispatchAction and child classes
multiple buttons (with or without forms)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014