• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to have multiple struts-config.xml

 
vineet kaushik
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Configure the Struts 1 servlet with each of the config files.
 
Nidhi Garg
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic