Hi vidya,
Yes, your right and this is a not a small doubt also.
If you go through the documentation then may be you get your answer so easily.
So please once go to
struts documentation and search struts predefined classes.
There are two classes that is DispatchAction and LookUpdispatchAction class which is help you to clear your doubt.
Thank you.