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
What is the flow of requests in struts based applications?
Why do we use struts?
What are best practices to follow while developing Struts2 application?
Are struts and shocks the same?
What are the reasons for an error message not being displayed while developing struts application?
how to connect from struts to database through hibernet and where u can modify the class
What is the purpose of @customvalidator annotation?
What is the purpose of redirect result type?
Do you need an alignment after replacing struts?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What is spring hibernate and struts in java?
What are inner class and anonymous class?
Why are frameworks used?
What is token used for?
What is the purpose of @doublerangefieldvalidator?