Wednesday, February 20, 2008

Can I have more than one struts-config.xml file

Yes we can have more than one struts-config.xml files for a single struts
application in condition.1. If we have more than one module in our application.
These are new features in Struts1.1



..............

.............





config





/WEB-INF/struts-config.xml









config/login







/WEB-INF/struts-config-login.xml





.............

.........



where default and login our two module.2. If we want to use more than one
struts-config.xml files to make our application simple .



..............

.............





config





/WEB-INF/struts-config.xml,/WEB-INF/struts-config-login.xml





.............

.........

No comments: