diffrence between dispatch action and lookupdispatch action

write simple web appliction (insert records in database)

Answer Posted / k.v.s.ravindrareddy

In the DispatchAction there are two jsp's with different
actions so we need to write two action classes and both
action classes should do different job for any class.
(insertStudent or updateStudent) instead of writing two
classes write one Action class with different methods and it
contains the diffenet logic. and in struts-config.xml file
parameter attribute should be parameter.....

In the LookupDispatchAction also like DispatchAction
here also instead of writing two Action class write two
methods in one class... and write getKeyMethodMap()
object.... This LookupDispatchAction is I18N and
DispatchAction....

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @emailvalidator annotation?

499


How exceptions are handled in struts application?

540


What’s the difference between struts and turbine?

560


What applications use apache struts?

499


Can we have more than one struts-config.xml file for a single struts application?

535






How the exceptions are handled in struts?

538


Which class is the Front Controller in Struts2?

551


Which design pattern is implemented by Struts2 interceptors?

556


Explain about struts dispatch action?

555


What is struts2 namespace?

515


What’s the difference between struts and espresso?

508


Does apache struts run on windows?

538


Explain about token feature in struts?

560


How an actionform bean is created?

575


What is struts xml?

445