Hi

I have used cocoon for some time now, and find it very useful.

But I have a small problem and that is I cant seem to move the servlet path to other than root.
If I use url pattern other than / it will not answer. I get a tomcat 404, not a cocoon error. So it does not seem to answer at all.
Is there anything else I need to set?


Any help is much appricated.

Magne


E.G This will not work: <servlet-mapping> <servlet-name>Cocoon</servlet-name> <url-pattern>/generate</url-pattern> </servlet-mapping>

This works.
<servlet-mapping>
       <servlet-name>Cocoon</servlet-name>
       <url-pattern>/</url-pattern>
</servlet-mapping>


I have this in my sitemap
<map:pipelines>
<map:pipeline>
<map:match pattern="ja.html">
<map:generate src="test.xml"/>
<map:transform src="codebook2-0.xsl"/>
<!--<map:parameter name="contextPath" value="{request:contextPath}"/>
</map:transform>-->
<map:serialize type="html"/>
</map:match>
</map:pipeline>
</map:pipelines>



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to