File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts-config.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts-config.xml" Watch "Struts-config.xml" New topic


san yee

Joined: Dec 21, 2006
Posts: 5
Can I have more than one struts-config.xml file for a single struts application?

Thanks in advance.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Moving this to the Struts forum.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Yes, you can. Just provide a comma-separated list of files in the web.xml file.


You can also create a struts application with multiple modules. See section 5.3 of theStruts User Guide for more information.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Struts-config.xml
jQuery in Action, 3rd edition