Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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?
It is sorta covered in the
JavaRanch Style Guide
subject: DispatchAction VS LookupDispatchAction VS EventDispatchAction VS MappingDispatchAction
multiple buttons (with or without forms)
Struts Action Classes
Do you use other types of actions?
DispatchAction and child classes
DispatchAction and LookupDispatchAction
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013