You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marius Gabor <ga...@s-m-c.de> on 2002/09/20 15:20:47 UTC

StrutsTestCase config

Hi!

Did anyone succeed calling a custom "struts-config.xml" file in 
setConfig()? (I mean a custom path, not WEB-INF/struts-config.xml)
I have something like:

public void setUp() {

	try {
		super.setUp();
	} catch( Exception e) {
		e.printStackTrace();
	}
	setConfigFile( "struts-config.xml" );
}

It doesn't work anyway I try. I have the path in CLASSPATH, but no use. 
:((( Wth should I do to get this thing really going.

TIA

-- 
Marius Gabor
Diplom-Informatiker
------------------------------
SMC GmbH
Software Management Consulting
Telefon: 0 60 21/45 70 5 - 0
Telefax: 0 60 21/45 70 5 -70
www.S-M-C.de

Besuchen Sie uns am 18. September 2002 in München
bei den XML-days 2002
Die SMC demonstriert XMLmeetsCOBOL und
referiert über XML im COBOL/Host-Umfeld

SMC at the Linuxdays of Luxembourg www.linuxday.lu
October, 1st - 3rd  2002
"Infrastructure for J2EE Applications with Free and Open Source Software"


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>