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


Please Help Members By Posting Answers For Below Questions

How struts2 supports internationalization?

646


How can we integrate log4j in Struts2 application?

555


What is the difference between validation.xml and validator-rules.xml files in struts?

505


What is the purpose of execute() method?

563


What do you mean by actionservlet?

537






Which design pattern is implemented by Struts2 interceptors?

544


What are action errors and error?

571


What is declarative exception handling in struts?

546


What are the different kinds of actions in struts?

544


Which tag is used to declare constants in struts xml?

462


What is structs 2 validation framework?

554


What is s token?

528


Explain struts?

544


What is actionservlet?

552


What is the use of web xml in struts2?

512