Hi Catherine,
Several things :
1/ In your web.xml you map "/" to the "SnoopServlet", which is an undefined
servlet ! Meaning that the "ServletRedirector" servlet is *not* mapped ! I
would suggest you start by using the provided web.xml file in the Cactus
distribution you have downloaded ... The mapping that you define need to be
in sync with the URL defined in cactus.properties (see
http://jakarta.apache.org/commons/cactus/configuration.html and
http://jakarta.apache.org/commons/cactus/installation.html), which is not
the case in the file you have posted.
2/ Can you also check you have the junit.jar file in your WEB-INF/lib of
your test webapp (this is not the current error but it might be the next one
once you have sorted out web.xml and cactus.properties ...)
But you should probably familiarize yourself with the provided sample (part
of the distribution) before running your own test, even for only a few
minutes or read the doc on the web site. Some person prefer to look at
samples other prefer to read docs, as you wish ...
Cheers,
-Vincent
----- Original Message -----
From: "Catherine Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 5:31 PM
Subject: Re: java.io.FileNotFoundException : ServletRedirector
> Attached please find my web.xml and cactus.properties.
>
> The reason why I renamed the ServletRedirector to
> SnoopServlet is because when I ran TestSimpleServlet as
> an application (instead of webapp), it cannot find the
> ServletRedirector, so we use the SnoopServlet tha has the
> same role as the ServletRedirector from JRun V.3.1. Also
> when we ran it as application, we don't really need to use
> web.xml.
>
> Thanks,
> -Catherine
>
>
>
>
>