This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 17249

Moving this to the Struts forum.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
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
jQuery in Action, 2nd edition
subject: Struts-config.xml
Similar Threads
jsp refreshing the action class method
Struts - Error - "Cannot find ActionMappings or ActionFormBeans collection"
Filters and web.xml problem + Eclipse
single actionform bean spans multiple jsp pages
Error Configuring TomCat