diffrence between dispatch action and lookupdispatch action
write simple web appliction (insert records in database)
Answer Posted / mastan reddy
LookupDispatchAction class is much like the DispatchAction
class except that, it uses a Java Map and
ApplicationResource.properties file to dispatch methods. At
run time, this class manages to delegate the request to one
of the methods of the derived Action class. Selection of a
method depends on the value of the parameter passed from
the incoming request. LookupDispatchAction uses this
parameter value to reverse-map to a property in the Struts
Resource bundle file (ie..ApplicationResource.properties).
this eliminates the need of creating an instance of
ActionForm class.
Is This Answer Correct ? | 47 Yes | 7 No |
Post New Answer View All Answers
How struts2 supports internationalization?
How can we integrate log4j in Struts2 application?
What is the difference between validation.xml and validator-rules.xml files in struts?
What is the purpose of execute() method?
What do you mean by actionservlet?
Which design pattern is implemented by Struts2 interceptors?
What are action errors and error?
What is declarative exception handling in struts?
What are the different kinds of actions in struts?
Which tag is used to declare constants in struts xml?
What is structs 2 validation framework?
What is s token?
Explain struts?
What is actionservlet?
What is the use of web xml in struts2?