Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
Struts
Can we use two struts-config.xml in one struts application
rajareddy annavaarm
Ranch Hand
Posts: 96
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can we use two struts-config.xml in one
struts
application?
I need detailed explanation why? when?
sreenivas jeenor
Ranch Hand
Posts: 125
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i didnt understand above information.
Can anybody send detailed explanation?
rajareddy annavaarm
Ranch Hand
Posts: 96
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
can anybody clear my doubt please
Rambabu Gonela
Greenhorn
Posts: 24
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
Dom Lassy
Ranch Hand
Posts: 181
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Just comma separate the xml files in your web.xml.
<servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml,/WEB-INF/struts-config2.xml</param-value> </init-param>
Normally trees don't drive trucks. Does this tiny ad have a license?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Difference between application and message-resources
Struts-config.xml
struts1
can there be two struts-config.xml files in one application?
reg: datasource - very very urgent
More...