You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Piroumian, Konstantin" <KP...@flagship.ru> on 2002/03/28 16:00:34 UTC
RE: Problem with JSP in mounted sitemap
I am fighting with that problem. JSPReader already working. Now I try to
figure out what's wrong with the JSPGenerator.
The most strange thing is that the message in log says that: 'no pipeline
matched' my request. But the pipeline with the needed matcher is there and
JSPReader works from the same sitemap.
Hope to solve that problem today...
--
Konstantin Piroumian
kpiroumian@flagship.ru
-----Original Message-----
From: yuryx [mailto:yuryx@mobicomk.donpac.ru]
Sent: Thursday, March 28, 2002 5:54 PM
To: cocoon-users@xml.apache.org
Subject: Problem with JSP in mounted sitemap
Hi all!
Now I have the following problem :)
When I declare jsp generator in matcher within mounted sitemap I have error
about:
type Status report
message
/usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicom-info/omc/sample.jsp
description The requested resource
(/usr/local/jakarta/catalina-4.0.4/webapps/cocoon/mobicom-info/omc/sample.js
p) is not available.
in mounted sitemap.xmap I declare following:
<map:components>
<map:generators default="file"/>
<map:transformers default="xslt"/>
<map:readers default="resource"/>
<map:serializers default="html"/>
<map:selectors default="browser"/>
<map:matchers default="wildcard"/>
</map:components>
<!-- =========================== Pipelines
================================= -->
<map:pipelines>
<map:pipeline>
<map:match pattern="sample">
<map:generate type="jsp" src="sample.jsp"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
<!-- end of file -->
I use Cocoon 2.0.2 and Tomcat 4.0.4 now.
This don't work in Cocoon 2.0.1 and Tomcat 4.0.1 also...
Can anyone help me by problem?
Thanx.
Yury.
--------------------------------------------------------------------- Please
check that your question has not already been answered in the FAQ before
posting. To unsubscribe, e-mail: For additional commands, e-mail:
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>