adspace


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


Please Help Members By Posting Answers For Below Questions

What are the contents on web.xml in struts application ?

1065


What is action chaining ?

1164


What do you know about validation plugin ?

1028


How is declarative handling of exceptions done in struts ?

1005


What is the difference between filters and interceptors ?

1311