Vadim Gritsenko wrote:
>>From: Michael Wechner [mailto:[EMAIL PROTECTED]]
>>
>>Hi
>>
>>How can I access the Resolver from within an XSP in order
>>
>
> this.resolver
Yes, that is the hint I needed:
org.apache.cocoon.environment.Source source=this.resolver.resolve("");
String sitemapPath=source.getSystemId();
Thanks Vadim
Michael
>
>
>
>>to determine the absolute sitemap path from where the XSP
>>was called?
>>
>
> URI or file name?
>
>
>
>>Or is there another method to do this within an XSP?
>>
>
> request.getSitemapURI()
>
>
> Vadim
>
>
>>Thanks in advance
>>
>>Michael
>>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>