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
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
What is struts? Explain
what is ACID test for fresh engineers??what is the pattern??
How is declarative handling of exceptions done in struts ?
Can you explain struts validator framework?
how to debug struts project in netbean ?
How struts2 supports internationalization?
Explain how can we upload files in struts2 application?
Can we handle exceptions in Struts programmatically?
What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?
Which library is provided by struts for form elements like check boxes, text boxes etc?
How is forward action used for integration?
What is the purpose of @stringlengthfieldvalidator annotation?
Why we use struts in java?
What is the purpose of action-mappings tag in struct-config.xml?