Hi
I have 2 questions.

(1) My 1st question is regarding Eclipse integration plugin
   When I run my test using 'Run As' 'Cactus Test' in eclipse I get the 
following error:

" taskdef class org.apache.cactus.integration.ant.CactifyWarTask cannot be 
found "

Any suggestion how to solve this error.

(2) My 2nd question is regarding running EJB tests.

 In the cactus documentations there is an example of EJB test. I have adapted 
the example to one of my session bean. I have included all the .jar files and 
my classes in the WEB-INF.

In my web.xml I have:
<servlet>
    <servlet-name>ServletRedirector</servlet-name>
    <servlet-class>
        org.apache.cactus.server.runner.ServletTestRunner
    </servlet-class>
</servlet>
[...]
<servlet-mapping>
    <servlet-name>ServletRedirector</servlet-name>
    <url-pattern>/ServletRedirector</url-pattern>
</servlet-mapping>

My question is how do I test my classes using a browser. Do I use the following 
url:

http://server:port/mywebapp/ServletTestRunner?suite=com.store.BeanTest

Do I need to include ServletTestRunner in my web.xml

thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to