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
What is front controller in struts?
What do you mean by actionform?
What is the purpose of dispatcher result type?
How does struts2 token work?
What’s the difference between struts and turbine?
What are the differences between http direct and http indirect?
How is a lookup dispatch action created?
What is the purpose of @key annotation annotation?
Explain the core end goal while using java struts?
What is the use of struts config xml file?
How the flow of various requests happens in struts application?
What is the purpose of @beforeresult?
how does request processor relates to action mapping?
What is lookupdispatchaction?
what is ACID test for fresh engineers??what is the pattern??