Hi,
How to set the ServletRedirector in cactus.properties file.Actually in my frame work All java classes indirectly extends one servlet.So how to map that Servleyt in our Cactus propertis file.
plz. clraify me.
thanx in advance,
sudhir
-----Original Message-----
From: Lars [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 3:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Reg Cactus.
maybe u've to set your classpath to the test-webapp-class-directory?
test/webapps/yourapp/WEB-INF/classes (<-no / at the end)
Lars
On Thu, 28 Jun 2001 07:46:41 -0400, in jakarta.commons you wrote:
>Hi,
>I am working on cactus. when I tried to run the test cases through cactus,I
>am getting following Exception
>
>[java] java.lang.NoClassDefFoundError
>[java] at org.apache.commons.cactus.ServletTestCase.runTest(Servle
>Case.java:128)
>[java] at org.apache.commons.cactus.AbstractTestCase.runBare(Abstr
>stCase.java:266)
>[java] at junit.framework.TestResult$1.protect(TestResult.java:100
>
>[java] at junit.framework.TestResult.runProtected(TestResult.java:
>
>[java] at junit.framework.TestResult.run(TestResult.java:103)
>[java] at junit.framework.TestCase.run(TestCase.java:121)
>[java] at junit.framework.TestSuite.runTest(TestSuite.java:149)
>[java] at junit.framework.TestSuite.run(TestSuite.java:144)
>[java] at junit.framework.TestSuite.runTest(TestSuite.java:149)
>[java] at junit.framework.TestSuite.run(TestSuite.java:144)
>[java] at junit.textui.TestRunner.doRun(TestRunner.java:63)
>[java] at junit.textui.TestRunner.start(TestRunner.java:217)
>[java] at junit.textui.TestRunner.main(TestRunner.java:89)
>
>what might be the problem?Could u plz clarify me.
>Thanks,
>Sudhir
>
>
>
