• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we use two struts-config.xml in one struts application

 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we use two struts-config.xml in one struts application?

I need detailed explanation why? when?
 
sreenivas jeenor
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

yes you can define more than one stuts-config.xml files.

You can define struts-modulename-config.xml file for each module,and have your normal struts-config.xml.

both configured in web.xml

You can use SwitchAction to switch among modules..
 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i didnt understand above information.

Can anybody send detailed explanation?
 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody clear my doubt please
 
Rambabu Gonela
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
 
Dom Lassy
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just comma separate the xml files in your web.xml.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic