cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Ash <m...@euronetworldwide.com>
Subject Jaring logicsheets
Date Fri, 28 Jun 2002 14:35:41 GMT
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?

Mime
View raw message