> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 21 August 2003 18:12 > To: [EMAIL PROTECTED] > Subject: Beginner's question > > 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.
The Eclipse plugin is still experimental and should currently be used at your own risk! :-) That said it should work better than this... Are you using the latest nightly build version? I remember seeing this error but that was a long time ago and I thought we had fixed it. > > (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 yep > > Do I need to include ServletTestRunner in my web.xml yep -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
