aspose file tools*
The moose likes Struts and the fly likes Multiple Struts config file and file name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple Struts config file and file name" Watch "Multiple Struts config file and file name" New topic
Author

Multiple Struts config file and file name

Supri dharshni
Greenhorn

Joined: Jul 14, 2009
Posts: 25
Hi,

In struts if we are using the two struts-config.xml files then if you send or received any request or response then is it search for all the xml files?
Can we have any names for my struts configuration file say supri.xml or is it only struts-config.xml?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Config files are loaded at app startup, not at request time--so there's no "searching the XML files" upon getting a request. Config files can be named anything, otherwise having multiple config files would be more difficult, since only one file can have a particular name.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Struts config file and file name