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
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What is action support class in struts2?
Which components are available using actioncontext map?
what is ACID test for fresh engineers??what is the pattern??
Why use struts framework in java?
How we can controlled duplicate form submission in struts?
Explain the complete struts validator framework.
What are pull and push mvc architecture and which architecture does struts2 follow?
How an actionform bean is created?
What are action errors?
What are the benefits of Interceptors in Struts2?
How is the action mapping specified?
How can we work with error tags?
What are the struts2 configuration properties that control file uploading process?
How can duplicate form submission be handled in struts 2?