jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Wiehage <treebe...@uni-muenster.de>
Subject Re: help with sample application
Date Wed, 25 Aug 2004 14:54:19 GMT
Hi!

> I already tried placing the libs in common/lib and in
> webapps/test/lib without results.

Shouldn't it be                -------
    $TOMCAT_HOME$/webapps/test/WEB-INF/lib
??                             -------


> http://localhost:8080/test/ServletTestRunner?suite=TestSampleServlet

Did you cactify your Application? You need something this
mapping for the ServletTestRunner in your web.xml:

    <servlet>
        <servlet-name>ServletTestRunner</servlet-name>
        <servlet-class>
            org.apache.cactus.server.runner.ServletTestRunner
        </servlet-class>
    </servlet>
    <servlet>
        <servlet-name>ServletRedirector</servlet-name>
        <servlet-class>
          org.apache.cactus.server.ServletTestRedirector
        </servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>ServletRedirector</servlet-name>
        <url-pattern>/ServletRedirector</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>ServletTestRunner</servlet-name>
        <url-pattern>/ServletTestRunner</url-pattern>
    </servlet-mapping>


It might help,
bye

Sebastian

Mime
View raw message