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

Do you need an alignment after replacing struts?

526


What is the difference between filters and interceptors ?

502


What’s the difference between struts and espresso?

508


What do you mean by actionservlet?

553


What does validation interceptor?

549






What is the purpose of interceptors?

532


How can link tag’s action attribute be used?

528


What is dispatchaction?

630


What is package name in struts xml?

563


How can duplicate form submission be handled in struts 2?

543


Explain about the process of functioning of the struts program?

593


Difference between struts and spring? Or why use spring, if you are already using struts?

537


Can we handle exceptions in Struts programmatically?

519


What’s the difference between struts and turbine?

560


How you will display validation fail errors on jsp page?

546