Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Struts config file and file name

 
Supri dharshni
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic