AW: Re: Re: Using absolute adresses in sitemap

hansheinrichbraun <[email protected]> Mon, 28 Nov 2016 09:19:49 +0100
Newsgroups gmane.text.xml.cocoon.user
Message-ID <[email protected]>
luckily fop-conf.xml is not respolved relatively to the jar root


Von meinem Samsung Galaxy Smartphone gesendet.
-------- Ursprüngliche Nachricht --------Von: gelo1234 <[email protected]> Datum: 28.11.16  08:36  (GMT+01:00) An: Cocoon Users <[email protected]> Betreff: Re: Re: Using absolute adresses in sitemap 
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 <[email protected]>:
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ò <[email protected]> Datum: 26.11.16  12:32  (GMT+01:00) An: [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]