Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-21 Thread Carl Smith
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

Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Praveen Kumar
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

Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Laurie Harper
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

Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Kishore Senji
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/

Re: Multiple struts-config.xml

2005-04-14 Thread sridhar
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

RE: Multiple struts-config.xml

2005-04-11 Thread Folashade Adeyosoye
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

RE: Multiple struts-config.xml

2005-04-11 Thread Mark Benussi
: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

Re: Multiple struts-config.xml

2005-04-11 Thread James Mitchell
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

Re: Multiple struts-config.xml

2005-04-10 Thread Manfred Wolff
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

RE: Multiple struts-config.xml

2005-04-10 Thread Folashade Adeyosoye
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