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

how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4465


What is struts? Explain

902


what is ACID test for fresh engineers??what is the pattern??

2750


How is declarative handling of exceptions done in struts ?

884


Can you explain struts validator framework?

973


how to debug struts project in netbean ?

2318


How struts2 supports internationalization?

1080


Explain how can we upload files in struts2 application?

1011


Can we handle exceptions in Struts programmatically?

935


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

1097


Which library is provided by struts for form elements like check boxes, text boxes etc?

878


How is forward action used for integration?

976


What is the purpose of @stringlengthfieldvalidator annotation?

1053


Why we use struts in java?

883


What is the purpose of action-mappings tag in struct-config.xml?

923