cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Huttar <>
Subject Re: My first pipeline
Date Tue, 11 Jan 2005 16:49:06 GMT
Mark Donnelly wrote:

>Yep, thanks Lars.
>It was as simple as placing the '/' on the end. Funnily, when I first
>started this I was doing just that but WebSphere was not auto-creating the
>URL with the trailing '/' at runtime, so I thought it wasnt needed.
The key is in the Cocoon top-level sitemap. You'll see a match pattern 
something like
    <map:match pattern="*/**">
      <map:mount check-reload="yes" src="{1}/" uri-prefix="{1}"/>

The pattern should match "df/", with {1} being "df", and {2} being "".
If you don't have a "/" in there, it will not match this pattern, and 
your "df/sitemap.xmap" will never be mounted.


>Thanks again for everyone's help,
>-----Original Message-----
>From: Lars Huttar []
>Sent: 10 January 2005 17:58
>Subject: Re: My first pipeline
>Apologies if someone already suggested this... I'm having trouble 
>receiving messages (they're getting spam-assassinated).
>Try adding a "/" to the end of the URL in the browser:
>I'm not familiar with WebSphere, but depending on your installation, this
>should get Cocoon to look in the df folder and find the sitemap you put
>Then the match pattern="" should kick in.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message