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/
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
5 matches
Mail list logo