aspose file tools*
The moose likes Struts and the fly likes How to have multiple 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 "How to have multiple struts-config.xml" Watch "How to have multiple struts-config.xml" New topic
Author

How to have multiple struts-config.xml

vineet kaushik
Greenhorn

Joined: Aug 05, 2009
Posts: 13
Hi Guys,

What i need to do, To have multiple struts-config.xml file in a single web application.

Thanks,
Vineet kaushik

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Configure the Struts 1 servlet with each of the config files.
Nidhi Garg
Greenhorn

Joined: Jun 19, 2009
Posts: 21
From 1.1 version we have two ways for having multiple configuration files.
- One way is to have comma-delimited values. For this changes have to be made in the web.xml file :


- Other way is to have separate modules each one having its own configuration file
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to have multiple struts-config.xml
 
Similar Threads
Difference Between Multiple Modules and Multiple Struts-config.xml in Default Module
contacting an action in a strut-config.xml from another strut-config.xml
multiple struts-config files
connecting struts with database
One more message-resources in struts-config.xml