cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <coc...@leverageweb.com>
Subject Re: Actions in Cocoon.
Date Wed, 21 May 2003 12:59:52 GMT
you have put the jar in the right place, though you may need to restart
your servlet engine to get the new jar recognized.

If you've already done that, then it's likely that you created your jar
incorrectly.  do jar -tvf hello-world-action.jar and send the results here.

Geoff Howard

At 08:11 AM 5/21/2003, you wrote:
>Hi everybody,
>
>The webpage http://cocoon.apache.org/2.0/userdocs/concepts/actions.html
>discusses how actions can be created and used in Cocoon.
>
>The action HelloWorldAction is created as an example and the class
>HelloWorldAction is put into the package test.  Then the following is
>declared in the components of the sitemap:
>
><map:actions>
>   <map:action name="hello-world" src="test.HelloWorldAction"/>
></map:actions>
>
>I tried this, but the system cannot find the class test.HelloWorldAction.
>
>I compiled HelloWorldAction.java and created hello-world-action.jar file out
>of the HelloWorldAction.class and I put that jar file into
>jakarta-tomcat-4.1.24-LE-jdk14\webapps\cocoon\WEB-INF\lib.  Is it wrong?
>How can I tell the system where my class HelloWorldAction is (or how to find
>the jar file that contains it)?
>
>Thank you very much!
>
>Irina.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message