Since you suggest Cocoon, I'm hoping you have experience installing it as a
filter?
I'm having trouble doing so.  I've closely followed the directions in
http://www.orionsupport.com/articles/cocoon.html
and get the message below when I try to hit the index.xml page from the
samples
directory of the Cocoon distribution.

I'm using Orion 1.4.5 on Windows 2000 and have tried to use both Cocoon 1.8
and
Cocoon 1.8.2 with the same results.  Please help this desperate newbie.

Thanks,
Charlie

---------------------------------------
Error message from Cocoon when hitting
http://localhost:90/samples/index.xml
---------------------------------------

Error found handling the request.
java.lang.RuntimeException: Error creating filter: class is not found
        at org.apache.cocoon.framework.Manager.create(Manager.java:106)
        at org.apache.cocoon.framework.Manager.create(Manager.java:78)
        at
org.apache.cocoon.producer.ProducerFactory.getProducer(ProducerFactory.java:
86)
        at org.apache.cocoon.Engine.handle(Engine.java:332)
        at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
        at com.orionsupport.cocoon.CocoonServlet.service(CocoonServlet.java:73)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
        at com.evermind.server.http.ea.doFilter(JAX)
        at com.orionsupport.cocoon.CocoonFilter.doFilter(CocoonFilter.java:65)
        at com.evermind.server.http.d3.sw(JAX)
        at com.evermind.server.http.d3.su(JAX)
        at com.evermind.server.http.d3.forward(JAX)
        at com.orionsupport.cocoon.CocoonFilter.doFilter(CocoonFilter.java:72)
        at com.evermind.server.http.ey.xv(JAX)
        at com.evermind.server.http.ey.su(JAX)
        at com.evermind.server.http.ef.s1(JAX)
        at com.evermind.server.http.ef.do(JAX)
        at com.evermind.util.f.run(JAX)






-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Joe Walnes
Sent: Friday, April 20, 2001 9:24 AM
To: Orion-Interest
Subject: RE: JSP Tags in an XSL Template?


A nice solution to what you are trying to achieve is to use the Transform
Tag-Library available at http://epesh.com/transformtags.jsp. This allows
you to include XSL transformations retrieving both the XML and XSL from a
variety of sources, including inline. Because the XSL is inline on the
page, you can use JSP scriptlets and tags.

An alternative method is to install Cocoon as a servlet filter.. when it's
used as a filter, it allows XML/XSL to be produced by any processor (static
file, servlet, JSP, XSP, PHP, etc).

This should solve your problem.

-Joe Walnes




Reply via email to