I think you should use WEB-INF instead of web-inf (and far, far away in
my memory I think I see a shade of a message saying "yes, even on
windows", but I'm not 100% sure about that)

hth,
tomK


> -----Original Message-----
> From: Miller, Grant [mailto:[EMAIL PROTECTED]] 
> Sent: vrijdag 11 januari 2002 14:58
> To: '[EMAIL PROTECTED]'
> Subject: Help! Where to put Action classes?
> 
> 
> Hi,
> I am using tomcat 4 and cocoon2. I have written an action 
> class (almost
> exactly the same as the Hello World example) and added it to 
> my sitemap.
> However I get a sitemap error as the class cannot be found. I 
> cannot find
> anything in the documentation to say where the class should be. 
> The action is to add the current date as a string to the 
> parameters map so
> that it can be accessed via xsp-request.
> My package is called 'com.mycompany.app' and my action is defined as:
> 
> <map:actions>
>    <map:action name="get_date" class="com.mycompany.app.DateAction"/>
> </map:actions>
> 
> Reading other postings I get the impression that my class should be
> automatically be picked up if I put the DateAction.class file in:
> 
> web-inf\classes\com\mycompany\app
> 
> but this doesn't work.
> Please help!
> 
> Cheers,
> 
> Grant
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 

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

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

Reply via email to