You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mike Ash <ma...@euronetworldwide.com> on 2002/06/28 16:35:41 UTC
Jaring logicsheets
I have a jar in .../project/WEB-INF/lib/myjar.jar which contains a
"mylogic.xsl" as a logicsheet. (it is not in a path in the jar)
I defined in cocoon.xconf
<builtin-logicsheet>
<parameter name="prefix" value="pre"/>
<parameter name="uri" value="http://server.com/cocoon"/>
<parameter name="href" value="resource://mylogic.xsl"/>
</builtin-logicsheet>
In my xsp I have used
<xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:pre="http://server.com/cocoon"
><xsp:logicsheet resource="mylogic.xsl" />
I also tried without the xsp:logicsheet tag
<?xml-logicsheet href="mylogic.xsl"?>
both give this error
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.ProcessingException: Exception during processing of
file:/D:/jakarta-tomcat-3.3a/webapps/monitor/mylogic.xsl:
org.apache.cocoon.ResourceNotFoundException: Resource not found
file:/D:/jakarta-tomcat-3.3a/webapps/monitor/mylogic.xsl:
java.io.FileNotFoundException:
/D:/jakarta-tomcat-3.3a/webapps/monitor/mylogic.xsl (The system cannot find
the file specified)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:414)
Know what I am doing wrong?