cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tricia Williams <>
Subject Re: Importing Hand-made Java Packages For Use in Flowscript
Date Wed, 28 Jun 2006 21:07:23 GMT

    That's strange... the .jar that contains the class I'm trying to use is 
used by several xsps to generate content with no problem.  I don't 
understand what the difference between the xsp usage and this javascript 
usage is.  Any thoughts?


On Wed, 28 Jun 2006, Jason Johnston wrote:

>> Hi,
>>     I think my problem has to do with the path to the source class that
>> I'm
>> referencing.  Where should the class I'm referencing be relative to
>> cocoon in order for cocoon to recognize it?  Could I include a .jar
>> instead?  Do I need to set anything in cocoon.xconf or the sitemap?
> It just needs to be in the classpath.  For most web applications that
> means a JAR file in WEB-INF/lib, or a .class file in WEB-INF/classes
> (within a directory structure matching the package hierarchy).
> I believe I remember seeing a special configuration value in Cocoon's
> WEB-INF/web.xml that allows specifying additional locations to add to the
> classpath, if neither of those common locations works for you.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message