Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is lookupdispatchaction?

1075


What is the purpose of struts.xml in struct2?

1178


What is strut action mapping?

1037


What is difference between interceptors and filters?

1079


What is the purpose of @expressionvalidator annotation?

1109


How can we work with error tags?

1042


What is the purpose of constant tag in struts.xml?

996


How an actionform bean is created?

1016


What is the purpose of global-forwards tag in struct-config.xml?

1020


What is used to display the intermediate result in an interceptor?

1000


What is the role of action class?

1084


What does modeldriven interceptor?

1142


What are Struts2 core components?

1052


What are the bundled validators?

1048


What is the purpose of form-be tag in struct-config.xml?

1018