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/

multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Carl Smith
I have two struts-config.xml files. One is Struts default struts-config.xml and the other one is called struts-my.xml. and I have configued these two xml files in web.xml so that ActionServlet can take both struts-config.xml and struts-my.xml. See following: action org.apache.struts.ac