Your solution works perfectly. Thank you Kishore.
Kishore Senji <[EMAIL PROTECTED]> wrote:I think by default the
CactusStrutsTestCase reads the /WEB-INF/struts-
config.xml only. If you have multiple config files you would have to set the
appropriate config file in your test method. For eg:
publ
HI
I dont know about Cactus . But Struts 1.2 onwards only more than one
struts-config files are allowed that to be in this manner
action
com.struts.action.ActionServlet
/// THis is for Defalut
config
/WEB-INF/struts-confi
It's been rather a long time since I used Cactus so I can't rememner the
details of how you set things up, but are you sure that struts-my.xml is
being read in when you run your cactus tests?
L.
Carl Smith wrote:
I have two struts-config.xml files. One is Struts default struts-config.xml and
I think by default the CactusStrutsTestCase reads the /WEB-INF/struts-
config.xml only. If you have multiple config files you would have to set the
appropriate config file in your test method. For eg:
public void testDisplay() throws Exception {
setConfigFile("/WEB-INF/struts-config.xml,/WEB-INF/
Hi Néstor Boscán,
You can use multiple struts-config.xml files.
for that you have modify web.xml file
steps
1. in ActionServlet init params u can pass all the struts-config.xml
file(s) as a values.
action
org.apache.struts.action.A
tem that is live now, with no problem.
-Original Message-
From: Manfred Wolff [mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 2:48 AM
To: Struts Users Mailing List
Subject: Re: Multiple struts-config.xml
Hi
A better way is to use struts modules. Every Module has its own
str
:42
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Multiple struts-config.xml
I would caution anyone about using Modules. It is not for the beginner.
Working with Struts Modules can be extremely confusing to the novice Struts
developer. I think a better solution is to suggest that
AIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, April 11, 2005 2:48 AM
Subject: Re: Multiple struts-config.xml
Hi
A better way is to use struts modules. Every Module has its own
struts-configuration. If you use more than one struts configuration such
as described bel
Hi
A better way is to use struts modules. Every Module has its own
struts-configuration. If you use more than one struts configuration such
as described below, you may have problems with duplicate identifiers,
becaus struts builds one configuration out of all files. This problems
you don't hav
Yes, in your web.xml
Change this...
AppName
com.path.to.the.ActionServlet
config
/WEB-INF/struts-config.xml
1
To
AppName
com.path.to.the.ActionServlet
config
/WEB-INF/struts-config.xml,/WEB-INF/the-employee-config.xml,/WE
B-IN
10 matches
Mail list logo