cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gelo1234 <gelo1...@gmail.com>
Subject Re: Re: Using absolute adresses in sitemap
Date Mon, 28 Nov 2016 07:36:28 GMT
Hello Hans,

You should try resolve absolute addresses within servlet or Java code, not
within sitemap. We define absolute addresses in sitemap as a map parameter
only in order to be resolved when Java code is being executed.. That is the
only way to get outside the cocoon context. As you know context:// always
points to ROOT directory _relative_ to current web context (webapp/context)
/ deployed JAR.

Greetings,
Greg

2016-11-28 8:01 GMT+01:00 hansheinrichbraun <
hansheinrichbraun@yahoo.de.invalid>:

> yes absolute adresses inside a jar are tried to be solved relative to the
> jars root
>
>
>
> Von meinem Samsung Galaxy Smartphone gesendet.
>
> -------- Urspr├╝ngliche Nachricht --------
> Von: Francesco Chicchiricc├▓ <ilgrosso@apache.org>
> Datum: 26.11.16 12:32 (GMT+01:00)
> An: users@cocoon.apache.org
> Betreff: Re: Using absolute adresses in sitemap
>
> On 26/11/2016 10:23, hansheinrichbraun wrote:
> >
> > how can i use absolute adresses in the sitemap in cocoon 3.0
> > for example in src
>
> What do you mean exactly?
>
> --
> Francesco Chicchiricc├▓
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Member at The Apache Software Foundation
> Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
> http://home.apache.org/~ilgrosso/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Mime
View raw message