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}"/>
</map:match>


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.


Lars

Thanks again for everyone's help,

Mark

-----Original Message-----
From: Lars Huttar [mailto:[EMAIL PROTECTED]
Sent: 10 January 2005 17:58
To: [email protected]
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:

http://192.168.1.199:7080/cocoon3/df/

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
there.
Then the match pattern="" should kick in.

Lars




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



Reply via email to