You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Lenya L. Khachaturov" <le...@chemsell.yaroslavl.ru> on 2003/01/20 17:33:37 UTC

Newbie questions about Actions

Hello,

I've read through userdocs/concepts/actions.html, but still I dont't get
the following (and the docs do not explain this):
I've got Java code of an action. HOW do I compile this and WHERE should I
put the resulting .class file after this.

-- 
Lenya Khachaturov
mailto:lenya@chemsell.yaroslavl.ru

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


AW: Newbie questions about Actions

Posted by Marco Rolappe <m_...@web.de>.
hi lenya,

you compile the java Action code like any other java code, i.e. via javac,
IDE, etc.

if you package the resulting classes as JAR this has to be in WEB-INF/lib of
your cocoon. otherwise the classes go to WEB-INF/classes of you cocoon.

note that the package structure has to be reflected in the directory
hierarchy, i.e. if your class 'bar' is in package 'foo', the class would
have to be in WEB-INF/classes/foo/bar.class.

-----Ursprungliche Nachricht-----
Von: cocoon-users-return-44994-m_rolappe=web.de@xml.apache.org
[mailto:cocoon-users-return-44994-m_rolappe=web.de@xml.apache.org]Im
Auftrag von Lenya L. Khachaturov
Gesendet: Montag, 20. Januar 2003 17:34
An: cocoon-users@xml.apache.org
Betreff: Newbie questions about Actions


Hello,

I've read through userdocs/concepts/actions.html, but still I dont't get
the following (and the docs do not explain this):
I've got Java code of an action. HOW do I compile this and WHERE should I
put the resulting .class file after this.

--
Lenya Khachaturov
mailto:lenya@chemsell.yaroslavl.ru

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>