struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Gabor <ga...@s-m-c.de>
Subject StrutsTestCase config
Date Fri, 20 Sep 2002 13:20:47 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message