Sorry for the lack of information....
The web.xml is as follow and is located in my application WEB-INF directory:
<web-app>
<servlet>
<servlet-name>ServletRedirector</servlet-name>
<servlet-class>
org.apache.cactus.server.ServletTestRedirector
</servlet-class>
<init-param>
<param-name>param1</param-name>
<param-value>value1 used for testing</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ServletTestRunner</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>
<servlet-mapping>
<servlet-name>ServletTestRunner</servlet-name>
<url-pattern>/ServletTestRunner</url-pattern>
</servlet-mapping>
</web-app>
The page I was referring to is this one:
http://jakarta.apache.org/cactus/integration/howto_tomcat.html
I'm trying to follow this example.
Thanks
Kelly
Vincent Massol wrote:
-----Original Message-----
From: Kelly C. Goedert [mailto:[EMAIL PROTECTED]
Sent: mercredi 25 ao�t 2004 21:33
To: Cactus Users List
Subject: Re: help with sample application
Hi Vincent,
yes it is a 404. I copied and pasted the web.xml that is in the example
page. I 'm wondering it is a problem with my tomcat version. I'm using
tomcat 5.0.27
What web.xml? The global one or the one in your war's web-inf/Web.xml? Could
you show us your web.xml?
Could you also tell me what example page you are referring to?
There should be no pb with your Tomcat install.
Thanks
-Vincent
Kelly.
Vincent Massol wrote:
Hi Kelly,
What error are you getting? A 404? If so it means your mapping in web.xml
is
not correct. If it's a 500 error then your tomcat logs should have the
error.
Thanks
-Vincent
PS: Could you please tell me what Cactus page you are referring to? If
there's something to fix in the doc we need to know where it's not well
explained.
-----Original Message-----
From: Kelly C. Goedert [mailto:[EMAIL PROTECTED]
Sent: mercredi 25 ao�t 2004 15:55
To: [EMAIL PROTECTED]
Subject: help with sample application
I'm trying to run cactus sample application as is explained in cactus
page. But I get this error: _The requested resource
(/test/ServletTestRunner) is not available.
_The url I'm typing is
http://localhost:8080/test/ServletTestRunner?suite=TestSampleServlet
I'm using tomcat 5.0.27 and java 1.4.2_04
I already tried placing the libs in common/lib and in webapps/test/lib
without results.
All the requested libraries are also in my classpath
Could anyone help me?
Kelly.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]