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 lookupdispatchaction?
What is the purpose of struts.xml in struct2?
What is strut action mapping?
What is difference between interceptors and filters?
What is the purpose of @expressionvalidator annotation?
How can we work with error tags?
What is the purpose of constant tag in struts.xml?
How an actionform bean is created?
What is the purpose of global-forwards tag in struct-config.xml?
What is used to display the intermediate result in an interceptor?
What is the role of action class?
What does modeldriven interceptor?
What are Struts2 core components?
What are the bundled validators?
What is the purpose of form-be tag in struct-config.xml?