diffrence between dispatch action and lookupdispatch action
write simple web appliction (insert records in database)
Answer Posted / mastan reddy
LookupDispatchAction class is much like the DispatchAction
class except that, it uses a Java Map and
ApplicationResource.properties file to dispatch methods. At
run time, this class manages to delegate the request to one
of the methods of the derived Action class. Selection of a
method depends on the value of the parameter passed from
the incoming request. LookupDispatchAction uses this
parameter value to reverse-map to a property in the Struts
Resource bundle file (ie..ApplicationResource.properties).
this eliminates the need of creating an instance of
ActionForm class.
| Is This Answer Correct ? | 47 Yes | 7 No |
Post New Answer View All Answers
Name some useful annotations introduced in Struts2?
What validate() and reset() method does ?
How we can controlled duplicate form submission in struts?
What is the difference between validation.xml and validator-rules.xml files in struts?
What are the steps involved in creating a strut application?
What is the purpose of @element annotation annotation?
What is DynaActionForm?
Name the different types of actions found in struts.
What does i18n interceptor?
Explain about the library tag?
What is the naming convention for a resource bundle file in struts2?
What is struts in java with example?
What is the use of interceptor?
Explain about the validation steps which have to be carried during validation of client-side address?
What is the purpose of @result?