diffrence between dispatch action and lookupdispatch action

write simple web appliction (insert records in database)

Answer Posted / chandu

The main constraint in the DispatchAction is the method name
in the action class and the button name in the jsp page
should be the same. But here in LookupDispatchAction, we can
have different names for the buttons and the methods.
Here i would like to add few points to Mastan answer.
LookupDispatchAction is only takes place when u want
Internationalization (i18n) in ur application.

Otherwise DispatchAction is enough

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you create your custom interceptor in struts 2?

533


What are the applications of struts?

523


How nested beans can be used in Struts applications?

542


What is the purpose of struct-config.xml in struct2?

553


How many struts config file in a struts application?

516






Difference between struts and spring?

572


What are action classes in struts?

508


What are the benefits of the struts system?

565


How can duplicate form submission be handled in struts 2?

526


What is the difference between struts1 and struts2?

510


Explain about struts?

542


What is strut web xml?

524


What is the purpose of '@customvalidator'?

573


How can we write our own interceptor and map it for action?

560


Explain integrate log4j in struts2 application?

562