File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Accessing class files in a JAR file with struts application.
forwards in struts
web.xml and struts-config.xml
Struts UI layer + Spring Business layer Integration ?
struts doubts