Splitting up an application into more than one module is useful mainly for large projects with many developers working on them. If the struts-config file is broken up into separate files for each module, the developers responsible for working on that module can have a degree of autonomy. They can make whatever changes necessary to their module without stepping on changes being made to other modules.
Apart from that , it also becomes way too easy for a developer to Manage the complete config file. So 1 its useful when the project is big and different developers can work on their own struts-config file and 2 for Managing the File elegantly.
Regards , Yogendra Joshi.
Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
one thing also i would like to add if we have two modules and both of them do not communicate much with each other both can be developed independently and at the end of the development while integration testing of the whole application both of the modules can be merged and separate struts config means easy to maintain, and debug
Joined: Feb 15, 2005
Thanks for your post, but please be aware that Merrill is a "he" rather than a "she".
Im using multiple struts-config files by modules, but at the time i want to use one module in a form tag <html:form action="/module1/action1.do" ....> i get an error, the application could not find an action config for /module1/action1
can you please help me to solve this issue?
i already configured web.xml to manage multiple struts config files.