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 does i18n interceptor?
What are different ways to create Action classes in Struts2?
What is spring and struts in java?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What is the use of jsonvalidation in struts?
What is the purpose of @doublerangefieldvalidator?
What is struts? Explain
What are the differences between http direct and http indirect?
How you will display validation fail errors on jsp page?
Who wrote struts?
What is the purpose of plug-in tag in struct-config.xml?
What are the classes used as part of struts framework ?
Describe the mvc on struts?
How do you convert struts to springs?
Why use spring, if you are already using struts?