Multiple struts-config.xml files

In Struts, for what purpose we will be creating multiple struts-config.xml files? Can anyone help me out?

Questions by javidn

Showing Answers 1 - 0 of 0 Answers

Ashish

  • Mar 30th, 2012
 

Struts Modules allow a team to logically separate their segment of a single application into the "sub-Web" application . In such a case , each sub-web part will have its own struts-config.xml file.
e.g. A team of 20 people are working on a project having 4 modules, each team can create its own struts-config-.xml

All such struts-config files must be declare in web.xml as below
sample web.xml entry for admin module

config/admin
/WEB-INF/struts-config-admin

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions