struts.config.xml : Struts has a configuration file to store mappings of actions.
By using this file there is no need to hard code the module which will be called within a component.
The one more responsibility of the controller is to check the struts.config.xml file
to determine which module to be called upon an action request.
Struts only reads the struts.config.xml file upon start up.
<form-bean name=?TutorialSearch? type=?roseindia.web.SearchTutorialActionForm?>
<forward name=?success? path=?/pages/
Difference between Struts-config.xml & web.xml
web.xml is used for the deployment descriptor for web applications where
struts-config.xml is used for deployment descripror for struts application.
Struts-config.xml is used for making connection between view & controller
where as web.xml is used for making connection between web container & web application
Architecture for struts http://www.roseindia.net/struts/StrutsArchitecture.shtml
For read in details : http://www.roseindia.net/struts/