File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
this week in the
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
DispatchAction and LookupDispatchAction
multiple buttons (with or without forms)
Struts Action Classes
Do you use other types of actions?
DispatchAction and child classes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014