DispatchAction is specialized child of Struts Action class. It combines or group the methods that can further access the bussiness logic at a single place. The method can be anyone from CRUD [Create,Retrieve,Update or Delete] or it can be security check one like autheniticate user etc.:You defiend execute(---) in action class. To do insertion operations, you have to define one action class with execute(---). To do deletion operations, you have to define one action class with execute(---) to perform deletion. Like that if you want to manipulate/iterate some data in database, you have to design more action classes with one execute(---). Then, you have to configure all these methods in configuation file and also take care about mapping. Here, we are performing operation threw single applciation into single database. But, operation is different.
Category:Struts Interview Questions
No comments:
Post a Comment